Skip to content

Commit bf9ef4d

Browse files
committed
wip
1 parent c1aa6c3 commit bf9ef4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mono/wasm/runtime/dotnet.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ interface DotnetHostBuilder {
1818
withDebugging(level: number): DotnetHostBuilder;
1919
withMainAssembly(mainAssemblyName: string): DotnetHostBuilder;
2020
withApplicationArgumentsFromQuery(): DotnetHostBuilder;
21+
withMemoryCache(value: boolean): DotnetHostBuilder;
2122
create(): Promise<RuntimeAPI>;
2223
run(): Promise<number>;
2324
}
@@ -133,7 +134,7 @@ type MonoConfig = {
133134
*/
134135
pthreadPoolSize?: number;
135136
/**
136-
* If true, the snapshot of runtime's memory will be stored in the browser and used for faster startup next time.
137+
* If true, the snapshot of runtime's memory will be stored in the browser and used for faster startup next time. Default is true.
137138
*/
138139
cacheMemory?: boolean;
139140
/**

0 commit comments

Comments
 (0)