UNPKG

@wmfs/tymly-pg-plugin

Version:

Replace Tymly's out-the-box memory storage with PostgreSQL

16 lines (13 loc) 321 B
'use strict' module.exports = class Walking { init (resourceConfig, env, callback) { callback(null) } run (event, context) { console.log('SITTING!!!!', context.executionName) event.petDiary.push(`${event.petName} is sitting.`) context.sendTaskSuccess({ petDiary: event.petDiary }) } }