We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 241a7f5 commit 8a55531Copy full SHA for 8a55531
std/assembly/bindings/asyncify.ts
@@ -0,0 +1,16 @@
1
+@unmanaged
2
+export class StackDescriptor {
3
+ /** The index in linear memory of the start of the “asyncify stack”. */
4
+ stackStart: usize;
5
+ /** The index of the end of that stack region, which implies how big it is. */
6
+ stackEnd: usize;
7
+}
8
+
9
+/** Starts to unwind the call stack. */
10
+export declare function start_unwind(data: StackDescriptor): void;
11
+/** Stops unwinding the call stack. */
12
+export declare function stop_unwind(): void;
13
+/** Starts to rewind the call stack. */
14
+export declare function start_rewind(data: StackDescriptor): void;
15
+/** Stops rewinding the call stack. */
16
+export declare function stop_rewind(): void;
0 commit comments