handler($input); // untyped $untyped = Workflow::newUntypedChildWorkflowStub('SimpleWorkflow'); $result[] = yield $untyped->execute(['untyped']); $execution = yield $untyped->getExecution(); assert($execution instanceof Workflow\WorkflowExecution); return $result; } }