()
| 192 | } |
| 193 | |
| 194 | private startRewind() : void { |
| 195 | if (this.exports.asyncify_start_rewind === undefined) { |
| 196 | throw Error("Asynctify is not enabled, please compile with -s ASYNCIFY=1 in emcc"); |
| 197 | } |
| 198 | this.exports.asyncify_start_rewind(ASYNCIFY_DATA_ADDR); |
| 199 | this.state = AsyncifyStateKind.Rewinding; |
| 200 | } |
| 201 | |
| 202 | private stopRewind() : void { |
| 203 | if (this.exports.asyncify_stop_rewind === undefined) { |