genkitx-temporal
    Preparing search index...

    Function startTemporalWorker

    • Creates and starts a Temporal Worker that can execute any Genkit flow registered with defineTemporalFlow.

      IMPORTANT: the entry-point that calls this function MUST first import (transitively) every module that registers flows. Otherwise the activity will fail with "No Genkit flow registered under name ..." at runtime.

      Parameters

      Returns Promise<void>

      the running Worker. The promise resolves when the worker shuts down (e.g. on SIGINT) — usually you'll just await it from your worker entry-point.