NewWorkflowClient returns a client for the Workflow from the given config.
(c config)
| 3189 | |
| 3190 | // NewWorkflowClient returns a client for the Workflow from the given config. |
| 3191 | func NewWorkflowClient(c config) *WorkflowClient { |
| 3192 | return &WorkflowClient{config: c} |
| 3193 | } |
| 3194 | |
| 3195 | // Use adds a list of mutation hooks to the hooks stack. |
| 3196 | // A call to `Use(f, g, h)` equals to `workflow.Hooks(f(g(h())))`. |
no outgoing calls
no test coverage detected