narraleaf-react 0.16.0 → 0.17.0

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.
@@ -252,6 +252,10 @@ export declare class TaskPool {
252
252
  private tasks;
253
253
  constructor(concurrency: number, delay: number);
254
254
  addTask(task: () => Promise<void>): void;
255
+ /**
256
+ * Number of tasks still queued (i.e. not yet handed to a running batch).
257
+ */
258
+ get size(): number;
255
259
  start(): Promise<void>;
256
260
  }
257
261
  export type StringKeyOf<T> = Extract<keyof T, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narraleaf-react",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "A React visual novel player framework",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",