resolveHelper
@twine-protocol/twine-core v0.1.0 • Docs
twine-js / @twine-protocol/twine-core / resolveHelper
Function: resolveHelper()
A helper function for implementing the Resolver.resolve method
Param
The fetchers to use
Param
The query to resolve
Param
Options for the resolution
See
MemoryStore.resolve for an example of how to use this
Example
resolveHelper(callers, thing, options)
resolveHelper(
callers
,thing
,options
?):Promise
<ChainResolution
>
A helper function for implementing the Resolver.resolve method
Parameters
callers
thing
options
?
Returns
Promise
<ChainResolution
>
Param
The fetchers to use
Param
The query to resolve
Param
Options for the resolution
See
MemoryStore.resolve for an example of how to use this
Example
Defined in
packages/twine-core/src/resolver/helpers.ts:183
resolveHelper(callers, thing, options)
resolveHelper(
callers
,thing
,options
?):Promise
<PulseResolution
>
A helper function for implementing the Resolver.resolve method
Parameters
callers
thing
options
?
Returns
Promise
<PulseResolution
>
Param
The fetchers to use
Param
The query to resolve
Param
Options for the resolution
See
MemoryStore.resolve for an example of how to use this
Example
Defined in
Last updated