Methods
-
activities(name, domain, options) → {ActivityPoller}
-
Create or retrieve a activity poller
Parameters:
Name Type Argument Description namestring The name of the poller. domainstring The AWS SWF domain name to execute the pollers activities in. optionsobject <optional>
Additional SWF options used when polling for activities (taskList= -tasklist) Returns:
- A activity poller instance where specific activities can be defined- Type
- ActivityPoller
-
fragment(name) → {Fragment}
-
Create or retrieve a workflow fragment
Parameters:
Name Type Description namestring The name of the fragment. Returns:
- A workflow fragment instance- Type
- Fragment
-
workflow(name, domain, options) → {DecisionPoller}
-
Create or retrieve a workflow
Parameters:
Name Type Argument Description namestring The name of the workflow. domainstring The AWS SWF domain name to execute this workflow in. optionsobject <optional>
Additional SWF options used when creating and executing this workflow (taskList, tagList, childPolicy, executionStartToCloseTimeout, taskStartToCloseTimeout) Returns:
- A workflow poller where specific versions of a workflow can be defined- Type
- DecisionPoller