LegacyAsyncFunctionDone
Type declaration
- (result:LegacyValue |Error):void
The function called by aLegacyAsyncFunction to indicate that it's finished.
Deprecated
This only works with the legacyrender andrenderSync APIs. UseCustomFunction withcompile,compileString,compileAsync, andcompileStringAsync instead.
Parameters
result:LegacyValue |Error
If this is aLegacyValue, that indicates that thefunction call completed successfully. If it's aError, thatindicates that the function call failed.
Returnsvoid
- Defined injs-api-doc/legacy/function.d.ts:149