resourcemap@0.2.2
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
@openfn/language-common/execute
, and prepends initial state for resourcemap.- submitSite(eventData) ⇒
Operation
Create an event
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps @openfn/language-common/execute
, and prepends initial state for resourcemap.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
submitSite(eventData) ⇒ Operation
Create an event
Kind: global function
Param | Type | Description |
---|---|---|
eventData | object | Payload data for the event |
Example
execute(
event(eventData)
)(state)