Interface CreateActorContextType<A>

interface CreateActorContextType<A> {
    useInitializeActor?: (() => InitializeActor);
    initialize: (() => Promise<void>);
    useActorStore: UseActorStore<A>;
    useActorState: (() => UseActorStateReturnType);
    useActorInterface: (() => types.IDL.ServiceClass);
    useMethodNames: (<Actor>() => Extract<keyof Actor, string>[]);
    useMethodAttributes: (<Actor>() => types.MethodAttributes<Actor>);
    useMethod: UseMethod<A>;
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
    useVisitService: UseVisitService<A>;
}

Type Parameters

Hierarchy (view full)

Properties

useInitializeActor?: (() => InitializeActor)

Type declaration

initialize: (() => Promise<void>)

Type declaration

useActorStore: UseActorStore<A>
useActorState: (() => UseActorStateReturnType)
useActorInterface: (() => types.IDL.ServiceClass)

Type declaration

useMethodNames: (<Actor>() => Extract<keyof Actor, string>[])

Type declaration

useMethodAttributes: (<Actor>() => types.MethodAttributes<Actor>)

Type declaration

useMethod: UseMethod<A>
useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>
useVisitService: UseVisitService<A>