ic-reactor
    Preparing search index...

    Interface ActorMethodState<A, M>

    Interface representing the state of each actor method.

    Type Parameters

    Indexable

    • [key: string]: {
          data: undefined | types.ActorMethodReturnType<A[M]>;
          loading: boolean;
          isLoading: boolean;
          error: undefined | utils.agent.AgentError;
      }

      The per-method state object, keyed by the method name.

      • data: undefined | types.ActorMethodReturnType<A[M]>

        The data returned from the actor method call, if available.

      • loading: boolean

        Use isLoading instead. Flag indicating whether the actor method is in progress.

      • isLoading: boolean

        Flag indicating whether the actor method is in progress.

      • error: undefined | utils.agent.AgentError

        Error thrown during the actor method invocation, if any.