hcifootprintType Aliases
ActionInvoke<F, Id, HasInputReader, Mode>
Type Alias: ActionInvoke<F, Id, HasInputReader, Mode>
ActionInvoke<
F,Id,HasInputReader,Mode> =Modeextends"host"?never:Modeextends"inputless"? () =>ActionInvocation<Awaited<ReturnType<F>>,Id,"mutation"> :Modeextends"scalar"?HasInputReaderextendstrue? () =>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