• Initiates a fixed named pour for the specified nozzle.

    Typically used for cases where a named cup size is to be poured where the volume of the pour is dictated by the name.

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

    Parameters

    • name: string

      name of the fixed pour volume.

    • 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