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

    Variable awaitMobileProcessBackgroundConst

    awaitMobileProcessBackground: Effect.Effect<void, SessionFatalError> = ...

    Waits until the process's background work has finished, failing with what it left (MobileProcessBackgroundShape.settled): the session-fatal error the process ended with, the same object; a process with no background set has nothing to wait for. runMobileApp runs it after main and before the app closes; the conformance render waits the same way before a scene's requests are compared; the process layer's own finalizer waits with it so every way of running the library keeps the tail; a checkpoint and a session snapshot wait for it before they read the process, so they always reflect the launch's whole effect. A program that composes the layer itself and makes no later call learns a session-fatal tail answer here.

    Inside the process's screen turn (a screen action, an otherwise branch) it returns at once: a challenge over a tail request is answered only with the turn to itself, so a wait there would wait for itself.