Class: execute

Adaptor~execute(…operations) → {Operation}

new execute(…operations) → {Operation}

Execute a sequence of operations. Wraps `language-common/execute`, and prepends initial state for commcare.
Parameters:
Name Type Attributes Description
operations Operations <repeatable>
Operations to be performed.
Source:
Returns:
Type
Operation
Example
execute(
  create('foo'),
  delete('bar')
)(state)