Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Manners.Implementation

type Implementation = {
log: (...args: unknown[]) => void;
warn: (...args: unknown[]) => void;
wnfsWasmLookup: (wnfsVersion: string) => Promise<BufferSource | Response>;
fileSystem: {
hooks: {
afterLoadExisting: (
dataComponents: DataComponents,
) => Promise<void>
;
afterLoadNew: (
dataComponents: DataComponents,
) => Promise<void>
;
beforeLoadExisting: (
cid: CID,
dataComponents: DataComponents,
) => Promise<void>
;
beforeLoadNew: (account: FileSystem.AssociatedIdentity, dataComponents: DataComponents) => Promise<void>;
}
;
}
;
}
;

§Type

§
{
log: (...args: unknown[]) => void;
warn: (...args: unknown[]) => void;
wnfsWasmLookup: (wnfsVersion: string) => Promise<BufferSource | Response>;
fileSystem: {
hooks: {
afterLoadExisting: (
dataComponents: DataComponents,
) => Promise<void>
;
afterLoadNew: (
dataComponents: DataComponents,
) => Promise<void>
;
beforeLoadExisting: (
cid: CID,
dataComponents: DataComponents,
) => Promise<void>
;
beforeLoadNew: (account: FileSystem.AssociatedIdentity, dataComponents: DataComponents) => Promise<void>;
}
;
}
;
}
[src]