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

    Interface ScreenAnswerAcrossPush<Args, A, E, R>

    A request whose answer crosses a push: one screen's enter sends it and returns while it is in flight, and the screen that screen pushes next takes its answer instead of sending the request itself (sendAcrossPush and takeAcrossPush, members of every screen's enter arguments). The declaration is the one fact both screens share: the request, and its identity — a screen receives only an answer to the declaration it takes.

    interface ScreenAnswerAcrossPush<Args extends ReadonlyArray<unknown>, A, E, R> {
        "[acrossPushEngine]": AcrossPushEngine<Args, A, E, R>;
        request: (...args: Args) => Effect<A, E, R>;
    }

    Type Parameters

    • Args extends ReadonlyArray<unknown>
    • A
    • E
    • R
    Index

    Properties

    "[acrossPushEngine]": AcrossPushEngine<Args, A, E, R>

    The screen engine's members.

    request: (...args: Args) => Effect<A, E, R>

    The request whose answer crosses the push.