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

    Interface CommandEventChannel<TEvent>

    Emits timestamped side events from one command execution.

    interface CommandEventChannel<TEvent extends CommandEvent = CommandEvent> {
        emit: (
            event: CommandEventInput<TEvent>,
            options?: CommandEventEmissionOptions,
        ) => void;
    }

    Type Parameters

    Index
    emit: (
        event: CommandEventInput<TEvent>,
        options?: CommandEventEmissionOptions,
    ) => void