Class JSWebAssemblyMemoryWaitCallback

java.lang.Object
com.oracle.truffle.js.runtime.builtins.wasm.JSWebAssemblyMemoryWaitCallback
All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSWebAssemblyMemoryWaitCallback extends Object implements com.oracle.truffle.api.interop.TruffleObject
Represents a callback that is invoked when the memory.atomic.waitN instruction executes in WebAssembly. This allows us to reuse the JS implementation of Atomics.wait.
  • Constructor Details

    • JSWebAssemblyMemoryWaitCallback

      public JSWebAssemblyMemoryWaitCallback(JSRealm realm, JSContext context)