Skip to content

@purista/core v2.0.5


PURISTA API / @purista/core / createInvokeFunctionProxy

Function: createInvokeFunctionProxy()

createInvokeFunctionProxy<TFaux>(invokeOg, address?, lvl?): TFaux

Defined in: packages/core/src/core/helper/createInvokeFunctionProxy.impl.ts:16

Creates a proxy which allows to chain the invoke function.

Type Parameters

TFaux

Parameters

invokeOg

InvokeFunction

the regular invoke function

address?

EBMessageAddress

the receivers EBMessageAddress

lvl?

number = 0

counter for recursive usage

Returns

TFaux

a proxy which allows to chain like serviceName.serviceVersion.fnToInvoke(payload,parameter)