type ExportAction = (options?) => void | Promise<void>;
Action function for handling export operations. Can be called with or without options to customize the export behavior. Supports both standard and video export workflows through a generic type parameter. The return type is automatically inferred based on the input options type.
Parameters#
Parameter | Type | Description |
---|---|---|
options? | EngineExportOptions |
Returns#
void
| Promise
<void
>
A promise that resolves when the export operation is complete, or void for synchronous operations