INNER CODE UNIT · TypeScript
createSyncAccessHandleTempStream
gildas-lormeau/zip.js · index.d.ts:813
export function createSyncAccessHandleTempStream(options?: OPFSTempStreamOptions): () => TempStream;
/**
* Represents an instance used to read or write unknown type of data.
*
* zip.js can handle multiple types of data thanks to a generic API. This feature is based on 2 abstract constructors: {@link Reader} and {@link Writer}.
* The classes inheriting from {@link Reader} help to read data from a source of data. The classes inheriting from {@link Writer} help to write data into a destination.
*/
export interface Initializable {
/**
* Initializes the instance asynchronously
*/
init?(): Promise<void>;
/**
* `true` if the instance is initialized.
*/
initialized?: boolean;
}