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

    Interface ScreenLeave<Input, Data, State, Visit>

    What a leave and a resume receive: the input the screen (or item) was entered with, the data its enter returned, the state derived from both and the visit — ended, with its duration, for leave; begun, for resume. No navigation: leaving emits none of its own.

    interface ScreenLeave<
        Input,
        Data,
        State,
        Visit extends ScreenVisit = ScreenVisitEnd,
    > {
        data: Data;
        input: Input;
        state: State;
        visit: Visit;
    }

    Type Parameters

    Index

    Properties

    Properties

    data: Data
    input: Input
    state: State
    visit: Visit

    The visit that ended (leave) or begins (resume).