publish<R extends WorkflowResult> method

  1. @override
Stream<R> publish<R extends WorkflowResult>(
  1. SourceProof proof
)
override

Implementation

@override
Stream<R> publish<R extends WorkflowResult>(SourceProof proof) {
  final orchestrator = _registry.getOrchestrator<R>(proof);
  if (orchestrator == null) {
    throw Exception(
      'Security Error: No orchestrator for ${proof.runtimeType}.',
    );
  }
  return orchestrator.performTaskFlow(proof);
}