Search
Preparing search index...
The search index is not available
redstone-smartweave
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
redstone-smartweave
CacheableExecutorFactory
Class CacheableExecutorFactory<Api>
An implementation of ExecutorFactory that adds caching capabilities
Type parameters
Api
Hierarchy
CacheableExecutorFactory
Implements
ExecutorFactory
<
Api
>
Index
Constructors
constructor
Methods
create
Constructors
constructor
new
Cacheable
Executor
Factory<Api>
(
arweave
:
default
, baseImplementation
:
ExecutorFactory
<
Api
>
, cache
:
SwCache
<
string
,
Api
>
)
:
CacheableExecutorFactory
<
Api
>
Type parameters
Api
Parameters
arweave:
default
baseImplementation:
ExecutorFactory
<
Api
>
cache:
SwCache
<
string
,
Api
>
Returns
CacheableExecutorFactory
<
Api
>
Methods
create
create<State>
(
contractDefinition
:
ContractDefinition
<
State
>
)
:
Promise
<
Api
>
Type parameters
State
Parameters
contractDefinition:
ContractDefinition
<
State
>
Returns
Promise
<
Api
>
Exports
Cacheable
Executor
Factory
constructor
create
Generated using
TypeDoc
An implementation of ExecutorFactory that adds caching capabilities