UNPKG

@wmfs/tymly

Version:

A framework for building and sharing workflows in Node.js

10 lines (8 loc) 267 B
'use strict' module.exports = class Licking { run (event, context) { event.petDiary.push(`${event.petName} is licking ${event.gender === 'male' ? 'him' : 'her'}self.`) console.log('LICKING!', context.executionName) context.sendTaskSuccess(event) } }