Skip to main content

resourcemap@0.2.0

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

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

submitSite(eventData) ⇒ Operation

Create an event

Kind: global function

ParamTypeDescription
eventDataobjectPayload data for the event

Example

execute(
event(eventData)
)(state)