@mediapipe/tasks-text 0.1.0-alpha-13 → 0.1.0-alpha-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/text.d.ts
CHANGED
|
@@ -345,6 +345,8 @@ declare abstract class TaskRunner {
|
|
|
345
345
|
protected constructor();
|
|
346
346
|
/** Configures the task with custom options. */
|
|
347
347
|
abstract setOptions(options: TaskRunnerOptions): Promise<void>;
|
|
348
|
+
/** Closes and cleans up the resources held by this task. */
|
|
349
|
+
close(): void;
|
|
348
350
|
}
|
|
349
351
|
|
|
350
352
|
/** Options to configure MediaPipe Tasks in general. */
|