igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.0
    Preparing search index...

    Interface PigeonDelivery

    Delivery of the Pigeon channel from the device's one telemetry queue (MobileDeviceState.telemetry), not a store of its own. A batch is what TakeTelemetry hands to this channel, oldest first: the events stay in the queue, marked in flight, until the delivery is confirmed (ConfirmTelemetry, through SettleTelemetry). The events arrive with the identity and the moment EmitTelemetry gave them, so a batch that did not get through goes out again as the same events.

    interface PigeonDelivery {
        restore: (batch: PigeonBatch) => Effect<void, never, MobileTelemetry>;
        take: Effect<PigeonBatch, never, MobileDevice | MobileTelemetry>;
    }
    Index

    Properties

    Properties

    restore: (batch: PigeonBatch) => Effect<void, never, MobileTelemetry>

    A batch that did not get through: its events lose the in-flight mark, still pending in number order.

    take: Effect<PigeonBatch, never, MobileDevice | MobileTelemetry>

    Takes the Pigeon channel's pending events into one batch, marked in flight.