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

    Interface ProcessBackgroundWorkOptions<E>

    How one piece of the process's background work runs: see runProcessBackgroundWork.

    interface ProcessBackgroundWorkOptions<E> {
        detour: OtherwiseDispatch | undefined;
        left: (cause: Cause<E>, ended: boolean) => Effect<void>;
    }

    Type Parameters

    • E
    Index

    Properties

    Properties

    detour: OtherwiseDispatch | undefined

    The detour a challenge over the work's requests is answered with. The launch's tail carries the call's own (otherwise answers a challenge over a tail request, between the caller's actions); a timer carries none (a timer is not an effect the screens run, so its challenge keeps its failure and, session-fatal, ends the process typed).

    left: (cause: Cause<E>, ended: boolean) => Effect<void>

    What the work left besides ending the process, read after the one judgment below: ended says whether that judgment ended the process with it. The set records it as its outcome; a timer ends the process with a defect that escaped it.