-
-
Notifications
You must be signed in to change notification settings - Fork 687
Expand file tree
/
Copy pathasyncify.ts
More file actions
16 lines (15 loc) · 626 Bytes
/
asyncify.ts
File metadata and controls
16 lines (15 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@unmanaged
export class StackDescriptor {
/** The index in linear memory of the start of the “asyncify stack”. */
stackStart: usize;
/** The index of the end of that stack region, which implies how big it is. */
stackEnd: usize;
}
/** Starts to unwind the call stack. */
export declare function start_unwind(data: StackDescriptor): void;
/** Stops unwinding the call stack. */
export declare function stop_unwind(): void;
/** Starts to rewind the call stack. */
export declare function start_rewind(data: StackDescriptor): void;
/** Stops rewinding the call stack. */
export declare function stop_rewind(): void;