Function: call()
call(
op,params,inlets?):Promise<OpOutput[]>
Defined in: operations/operations.ts:78
a wrapper to simplify how operations are called from within the code.
Parameters
op
the operation you are calling
params
the values to associate with each parameter (in the order they are defined). If you define less than what is required, or submit a parameter of the wrong type (e.g. a string instead of a number), it will automatically replace the param with the default value
inlets?
OpInput[]
the drafts to use in the computation, any values associated with those inputs, as well as the cooresponding id to be associated with the drafts
Returns
Promise<OpOutput[]>
a promise containing an array of drafts