hacifootprint
hcifootprintType Aliases

ActionInvoke<F, Id, HasInputReader, Mode>

Type Alias: ActionInvoke<F, Id, HasInputReader, Mode>

ActionInvoke<F, Id, HasInputReader, Mode> = Mode extends "host" ? never : Mode extends "inputless" ? () => ActionInvocation<Awaited<ReturnType<F>>, Id, "mutation"> : Mode extends "scalar" ? HasInputReader extends true ? () => ActionInvocation<Awaited<ReturnType<F>>, Id, "mutation"> : (input) => ActionInvocation<Awaited<ReturnType<F>>, Id, "mutation"> : never

Defined in: src/action/types.ts:723

Direct invocation is intentionally a scalar-payload door. Host listeners with a receiver or several arguments use invokeContinuation, which keeps their exact call/apply semantics inside the host adapter.

Type Parameters

F

F extends (...args) => any

Id

Id extends string = string

HasInputReader

HasInputReader extends boolean = false

Mode

Mode extends ActionInvocationMode = ActionInvocationMode

On this page