Skip to main content

HostActionRunner

interface

Dispatches actions from inside an interceptor, where `ctx.action(...)` of the outer context is not in reach.

interface HostActionRunner

Import

import { HostActionRunner } from '@modular/sdk';

Members1

run()
<K extends HostActionReference>(actionId: K, input: HostActionInput<K>, options?: HostActionClientRunOptions) => Promise<HostActionResult<K>>

Runs an action and resolves with its result.