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

    Variable pigeonFlushConst

    pigeonFlush: Effect.Effect<
        TelemetryFlushResult,
        TelemetryDeliveryError,
        PigeonFlushRequirements,
    > = ...

    The Pigeon channel's delivery (the sender's and FlushTelemetry's, in @igpapi/mobile): sends everything the device has pending on the channel through one Pigeon batch. An empty queue sends nothing — not even an init — so a flush with nothing pending is no request; an upload the transport or the analytics server rejects fails with TelemetryDeliveryError, its events still pending, and the next flush carries them again.

    It sends only into the Pigeon session the process began: the caller starts it with emitPigeonInfraBatches (the Android launch does where the app's first upload of the process goes out). A process that never began it dies with TelemetryDeliverySessionError (reason: 'session', a defect: the caller broke the order) and the batch stays in the store, because the Simulator sends no upload without the session.