ic-reactor
Example
GitHub
Preparing search index...
react
types
CreateActorContextType
Interface CreateActorContextType<A>
interface
CreateActorContextType
<
A
=
types
.
BaseActor
>
{
useInitializeActor
?:
()
=>
InitializeActor
;
initialize
:
()
=>
Promise
<
void
>
;
useActorStore
:
UseActorStore
<
A
>
;
useActorState
:
()
=>
UseActorStateReturnType
;
useActorInterface
:
()
=>
types
.
IDL
.
ServiceClass
;
useMethodNames
:
<
Actor
=
A
>
()
=>
Extract
<
keyof
Actor
,
string
>
[]
;
useMethodAttributes
:
<
Actor
=
A
>
()
=>
types
.
MethodAttributes
<
Actor
>
;
useMethod
:
UseMethod
<
A
>
;
useQueryCall
:
UseQueryCall
<
A
>
;
useUpdateCall
:
UseUpdateCall
<
A
>
;
useVisitMethod
:
UseVisitMethod
<
A
>
;
useVisitService
:
UseVisitService
<
A
>
;
}
Type Parameters
A
=
types
.
BaseActor
Hierarchy (
View Summary
)
ActorHooksReturnType
<
A
>
CreateActorContextType
Index
Properties
use
Initialize
Actor?
initialize
use
Actor
Store
use
Actor
State
use
Actor
Interface
use
Method
Names
use
Method
Attributes
use
Method
use
Query
Call
use
Update
Call
use
Visit
Method
use
Visit
Service
Properties
Optional
use
Initialize
Actor
useInitializeActor
?:
()
=>
InitializeActor
initialize
initialize
:
()
=>
Promise
<
void
>
use
Actor
Store
useActorStore
:
UseActorStore
<
A
>
use
Actor
State
useActorState
:
()
=>
UseActorStateReturnType
use
Actor
Interface
useActorInterface
:
()
=>
types
.
IDL
.
ServiceClass
use
Method
Names
useMethodNames
:
<
Actor
=
A
>
()
=>
Extract
<
keyof
Actor
,
string
>
[]
use
Method
Attributes
useMethodAttributes
:
<
Actor
=
A
>
()
=>
types
.
MethodAttributes
<
Actor
>
use
Method
useMethod
:
UseMethod
<
A
>
use
Query
Call
useQueryCall
:
UseQueryCall
<
A
>
use
Update
Call
useUpdateCall
:
UseUpdateCall
<
A
>
use
Visit
Method
useVisitMethod
:
UseVisitMethod
<
A
>
use
Visit
Service
useVisitService
:
UseVisitService
<
A
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
use
Initialize
Actor
initialize
use
Actor
Store
use
Actor
State
use
Actor
Interface
use
Method
Names
use
Method
Attributes
use
Method
use
Query
Call
use
Update
Call
use
Visit
Method
use
Visit
Service
Example
GitHub
ic-reactor
Loading...