mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
26 lines
751 B
JavaScript
26 lines
751 B
JavaScript
'use strict'
|
|
|
|
// NOTE: the `utils.js` file is bundled into the deployment package
|
|
// eslint-disable-next-line
|
|
const { log } = require('./utils')
|
|
|
|
function scheduleMinimal(event, context, callback) {
|
|
const functionName = 'scheduleMinimal'
|
|
log(functionName, JSON.stringify(event))
|
|
return callback(null, event)
|
|
}
|
|
|
|
function scheduleExtended(event, context, callback) {
|
|
const functionName = 'scheduleExtended'
|
|
log(functionName, JSON.stringify(event))
|
|
return callback(null, event)
|
|
}
|
|
|
|
function scheduleExtendedArray(event, context, callback) {
|
|
const functionName = 'scheduleExtendedArray'
|
|
log(functionName, JSON.stringify(event))
|
|
return callback(null, event)
|
|
}
|
|
|
|
module.exports = { scheduleMinimal, scheduleExtended, scheduleExtendedArray }
|