Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / emptyTaskHandler

Variable: emptyTaskHandler

const emptyTaskHandler: object

Type declaration

getNextKey()

getNextKey: (_prefix, _key) => Promise<never>

Parameters

_prefix: `0x${string}`

_key: `0x${string}`

Returns

Promise<never>

getStorage()

getStorage: (_key) => Promise<never>

Parameters

_key: `0x${string}`

Returns

Promise<never>

offchainGetStorage()

offchainGetStorage: (_key) => Promise<never>

Parameters

_key: `0x${string}`

Returns

Promise<never>

offchainRandomSeed()

offchainRandomSeed: () => Promise<never>

Returns

Promise<never>

offchainSubmitTransaction()

offchainSubmitTransaction: (_tx) => Promise<never>

Parameters

_tx: `0x${string}`

Returns

Promise<never>

offchainTimestamp()

offchainTimestamp: () => Promise<never>

Returns

Promise<never>

Defined in

packages/core/src/wasm-executor/index.ts:179