LegacyAsyncFunctionDone
Type declaration
-
- (result: LegacyValue | Error): void
-
Parameters
-
result: LegacyValue | Error
If this is a LegacyValue, that indicates that the function call completed successfully. If it's a Error, that indicates that the function call failed.
Returns void
-
The function called by a LegacyAsyncFunction to indicate that it's finished.
Deprecated
This only works with the legacy render and renderSync APIs. Use CustomFunction with compile, compileString, compileAsync, and compileStringAsync instead.