HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory_new/webapp/node_modules/blake3-wasm/esm/base/disposable.d.ts
/**
 * A type which requires manual disposal to free unmanaged resources. In the
 * context of this library, this usually means freeing memory from WebAssembly
 * code.
 */
export interface IDisposable {
    /**
     * Frees unmanaged resources of the object. This method is idempotent;
     * calling it multiple times will have no ill effects.
     */
    dispose(): void;
}
/**
 * A helper function that calls `.dispose()` on the {@link IDisposable} when
 * the given function (or promise returned by the function) returns.
 */
export declare const using: <T, D extends IDisposable>(disposable: D, fn: (d: D) => T) => T;