IncrementEpoch will increase the current epoch number by 1 within the current engine which will cause any connected stores with their epoch deadline exceeded to now be interrupted. This method is safe to call from any goroutine.
()
| 79 | // |
| 80 | // This method is safe to call from any goroutine. |
| 81 | func (engine *Engine) IncrementEpoch() { |
| 82 | C.wasmtime_engine_increment_epoch(engine.ptr()) |
| 83 | runtime.KeepAlive(engine) |
| 84 | } |
| 85 | |
| 86 | // IsPulley will return whether the current engine's execution is backed by |
| 87 | // the Pulley interpreter inside of Wasmtime. If this returns false then |