Skip to main content

FuncLike

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

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:73
inputsNamedProperty[]js-api/src/u2core/protocol.ts:74
namestringjs-api/src/u2core/protocol.ts:72

Methods

apply()

apply(params?): unknown

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

May return a promise.

Parameters

ParameterType
params?Record<string, unknown>

Returns

unknown