nestjs-temporal-core
    Preparing search index...

    Function createWorkflowToken

    • Create a unique NestJS injection token for a workflow proxy.

      Pair with createWorkflowProvider to register a typed proxy provider that can be injected by this token anywhere in the application.

      Parameters

      • workflowType: string

      Returns InjectionToken

      export const ORDER_WORKFLOW = createWorkflowToken('orderWorkflow');