Type alias ActorGetStateFunction<A, M>

ActorGetStateFunction<A, M>: {
    (key): types.ActorMethodReturnType<A[M]>;
    (key): boolean;
    (key): undefined | Error;
    (): {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Type declaration