Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
react
types
CreateActorContextType
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
A
=
types
.
BaseActor
Hierarchy (
view full
)
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
use
Initialize
Actor
?:
(
(
)
=>
InitializeActor
)
Type declaration
(
)
:
InitializeActor
Returns
InitializeActor
initialize
initialize
:
(
(
)
=>
Promise
<
void
>
)
Type declaration
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
use
Actor
Store
use
Actor
Store
:
UseActorStore
<
A
>
use
Actor
State
use
Actor
State
:
(
(
)
=>
UseActorStateReturnType
)
Type declaration
(
)
:
UseActorStateReturnType
Returns
UseActorStateReturnType
use
Actor
Interface
use
Actor
Interface
:
(
(
)
=>
types
.
IDL
.
ServiceClass
)
Type declaration
(
)
:
types
.
IDL
.
ServiceClass
Returns
types
.
IDL
.
ServiceClass
use
Method
Names
use
Method
Names
:
(
<
Actor
>
(
)
=>
Extract
<
keyof
Actor
,
string
>
[]
)
Type declaration
<
Actor
>
(
)
:
Extract
<
keyof
Actor
,
string
>
[]
Type Parameters
Actor
=
A
Returns
Extract
<
keyof
Actor
,
string
>
[]
use
Method
Attributes
use
Method
Attributes
:
(
<
Actor
>
(
)
=>
types
.
MethodAttributes
<
Actor
>
)
Type declaration
<
Actor
>
(
)
:
types
.
MethodAttributes
<
Actor
>
Type Parameters
Actor
=
A
Returns
types
.
MethodAttributes
<
Actor
>
use
Method
use
Method
:
UseMethod
<
A
>
use
Query
Call
use
Query
Call
:
UseQueryCall
<
A
>
use
Update
Call
use
Update
Call
:
UseUpdateCall
<
A
>
use
Visit
Method
use
Visit
Method
:
UseVisitMethod
<
A
>
use
Visit
Service
use
Visit
Service
:
UseVisitService
<
A
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
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
ic-reactor
Loading...