• Initiates a pour for the specified nozzle.

    Uses the KOS endpoint [POST] ${URL}/api/ext/dispense/nozzle/${nozzleId}/pipeline/beverage/pour

    Parameters

    • nozzleId: string

      the nozzle id to pour from.

    • tracker: string

      the tracker to use for the pour. It will be returned in the future to allow consumers to track the pour.

    Returns Promise<undefined | KosServiceResponse<any>>

    • a Future that encapsulates the pour including its status and progress.

    Example

    import { NozzleServices } from "@kosdev-code/kos-dispense-sdk";
    ...

    await NozzleServices.pourPourable("nozzle-1", "my-tracker");

    See

    FutureManager.initiateFuture