@shopify/cli-kit
    Preparing search index...

    Function runWithCommandEvents

    • Runs a command execution with an event channel available to all nested asynchronous work.

      Type Parameters

      • TResult

      Parameters

      • options: RunWithCommandEventsOptions

        The event sink, clock, and output mode used by the channel.

      • execute: () => TResult

        The command execution to run with the channel.

      Returns TResult

      The result of the command execution.