Skip to main content

FuncLike

Defined in: js-api/src/u2core/protocol.ts:186

A callable a component exposes, params as properties. The invocation is named after DG.Func.apply so that a real platform function IS a FuncLike — the host hands out either. Deliberately NOT DG.Func: components mint plain callables no registry knows.

Properties​

PropertyTypeDefined in
description?stringjs-api/src/u2core/protocol.ts:188
inputsNamedProperty[]js-api/src/u2core/protocol.ts:189
namestringjs-api/src/u2core/protocol.ts:187

Methods​

apply()​

apply(params?): unknown

Defined in: js-api/src/u2core/protocol.ts:191

May return a promise.

Parameters​

ParameterType
params?Record<string, unknown>

Returns​

unknown