Skip to main content

ModuleThunk

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / ModuleThunk

Type Alias: ModuleThunk()

type ModuleThunk = () => Promise<Module>;

A deferred load of a generated contract module: evaluated only when a call resolves to it.

Returns​

Promise<Module>