Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
react
types
CandidAdapterContextType
Interface CandidAdapterContextType
interface
CandidAdapterContextType
{
agent
:
types
.
HttpAgent
;
didjsCanisterId
:
string
;
unsubscribeAgent
:
(
(
)
=>
void
)
;
initializeParser
(
module
?
)
:
Promise
<
void
>
;
fetchCandidDefinition
(
canisterId
)
:
Promise
<
string
>
;
getCandidDefinition
(
canisterId
)
:
Promise
<
types
.
CandidDefenition
>
;
getFromMetadata
(
canisterId
)
:
Promise
<
undefined
|
string
>
;
getFromTmpHack
(
canisterId
)
:
Promise
<
string
>
;
dynamicEvalJs
(
data
)
:
Promise
<
types
.
CandidDefenition
>
;
fetchDidTojs
(
candidSource
,
didjsCanisterId
?
)
:
Promise
<
[
string
]
>
;
parseDidToJs
(
candidSource
)
:
string
;
validateIDL
(
candidSource
)
:
boolean
;
}
Hierarchy (
view full
)
types
.
CandidAdapter
CandidAdapterContextType
Index
Properties
agent
didjs
Canister
Id
unsubscribe
Agent
Methods
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
dynamic
Eval
Js
fetch
Did
Tojs
parse
Did
To
Js
validateIDL
Properties
agent
agent
:
types
.
HttpAgent
didjs
Canister
Id
didjs
Canister
Id
:
string
unsubscribe
Agent
unsubscribe
Agent
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
Methods
initialize
Parser
initialize
Parser
(
module
?
)
:
Promise
<
void
>
Parameters
Optional
module
:
types
.
ReactorParser
Returns
Promise
<
void
>
fetch
Candid
Definition
fetch
Candid
Definition
(
canisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
get
Candid
Definition
get
Candid
Definition
(
canisterId
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
types
.
CandidDefenition
>
get
From
Metadata
get
From
Metadata
(
canisterId
)
:
Promise
<
undefined
|
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
undefined
|
string
>
get
From
Tmp
Hack
get
From
Tmp
Hack
(
canisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
dynamic
Eval
Js
dynamic
Eval
Js
(
data
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
data
:
string
Returns
Promise
<
types
.
CandidDefenition
>
fetch
Did
Tojs
fetch
Did
Tojs
(
candidSource
,
didjsCanisterId
?
)
:
Promise
<
[
string
]
>
Parameters
candidSource
:
string
Optional
didjsCanisterId
:
string
Returns
Promise
<
[
string
]
>
parse
Did
To
Js
parse
Did
To
Js
(
candidSource
)
:
string
Parameters
candidSource
:
string
Returns
string
validateIDL
validateIDL
(
candidSource
)
:
boolean
Parameters
candidSource
:
string
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
agent
didjs
Canister
Id
unsubscribe
Agent
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
dynamic
Eval
Js
fetch
Did
Tojs
parse
Did
To
Js
validateIDL
ic-reactor
Loading...