@curium.rocks/data-emitter-base
Advanced tools
Comparing version 0.1.1-alpha.37 to 0.1.1-alpha.38
import { ISerializableState } from "./common"; | ||
import { IChroniclerDescription, IClassifier, IDataEvent, IDisposable, IFormatSettings, IStatusEvent } from "./dataEmitter"; | ||
import { IChroniclerDescription, IClassifier, IDataEvent, IDisposableAsync, IFormatSettings, IStatusEvent } from "./dataEmitter"; | ||
/** | ||
@@ -25,3 +25,3 @@ * Check if any object conforms to the IJsonSerializable interface | ||
*/ | ||
export interface IChronicler extends IDisposable, IClassifier, ISerializableState { | ||
export interface IChronicler extends IDisposableAsync, IClassifier, ISerializableState { | ||
/** | ||
@@ -101,5 +101,7 @@ * Save the provided object into a persistent store, | ||
/** | ||
* Dispose any resources that will not automatically be cleaned up | ||
* Dispose any resources that will not be automatically be cleaned up, | ||
* Returns a promise that is resolved when all of the resources have been cleaned up | ||
* @return {Promise<void>} | ||
*/ | ||
abstract dispose(): void; | ||
abstract disposeAsync(): Promise<void>; | ||
/** | ||
@@ -106,0 +108,0 @@ * Gets the chronicler description which is used to recreate the chronicler |
{ | ||
"name": "@curium.rocks/data-emitter-base", | ||
"version": "0.1.1-alpha.37", | ||
"version": "0.1.1-alpha.38", | ||
"description": "A collection of typescript class interfaces and base classes that specify generic contracts with things that emit data", | ||
@@ -5,0 +5,0 @@ "main": "build/src/lib.js", |
Sorry, the diff of this file is not supported yet
99090
2147