()
| 208 | } |
| 209 | |
| 210 | private startUnwind() : void { |
| 211 | if (this.exports.asyncify_start_unwind === undefined) { |
| 212 | throw Error("Asynctify is not enabled, please compile with -s ASYNCIFY=1 in emcc"); |
| 213 | } |
| 214 | this.exports.asyncify_start_unwind(ASYNCIFY_DATA_ADDR); |
| 215 | this.state = AsyncifyStateKind.Unwinding; |
| 216 | } |
| 217 | |
| 218 | private stopUnwind() : void { |
| 219 | if (this.exports.asyncify_stop_unwind === undefined) { |