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

    Function handleActionAs

    • handleAction whose answer is the named type A rather than the body's inferred union (the login home's logIn answers a named union of the screens it opens).

      Type Parameters

      • A

      Returns <State, Args extends readonly unknown[], E, R>(
          run: (
              self: ScreenHandle,
              state: State,
              ...args: Args,
          ) => Effect<A, E, R>,
      ) => (
          self: ScreenHandle,
          state: State,
      ) => (
          ...args: Args,
      ) => Effect<
          ActionAnswer<A>,
          ScreenEnterConcurrentError | E,
          MobileNavigation | ScreenStack | Exclude<R, never>,
      >