Web platform APIs
The web standard globals Ende implements, such as fetch, streams, URLs, Web Crypto, WebSockets and WebGPU.
Cache
Cache— Represents a single named store of `Request`/`Response` pairs. Obtain a `Cache` via CacheStorage.open and use it to persist responses and later match incoming requests against them.CacheQueryOptionscaches— The global CacheStorage instance, providing access to the named Cache objects used to store and retrieve `Request`/`Response` pairs.CacheStorage— Represents the storage for named Cache objects. It provides the methods used to open, enumerate, look up, and delete caches, and is accessed via the global caches property.MultiCacheQueryOptions
Canvas
ColorSpaceConversion— Specifies whether the image should be decoded using color space conversion. Either none or default (default). The value default indicates that implementation-specific behavior is used.createImageBitmap— Create a new ImageBitmap object from a given source.GPUCanvasAlphaModeGPUCanvasConfigurationGPUCanvasContext— The rendering context that presents WebGPU-rendered images on an OffscreenCanvas. Obtained from OffscreenCanvas.getContext with the `"webgpu"` context id.GPUPresentModeImageBitmap— `ImageBitmap` interface represents a bitmap image which can be drawn to a canvas.ImageBitmapOptions— The options of createImageBitmap.ImageBitmapRenderingContext— A rendering context that displays the contents of an ImageBitmap on an OffscreenCanvas. Obtained from OffscreenCanvas.getContext with the `"bitmaprenderer"` context id.ImageBitmapSource— The `ImageBitmapSource` type represents an image data source that can be used to create an `ImageBitmap`.ImageEncodeOptionsImageOrientation— Specifies how the bitmap image should be oriented.OffscreenCanvas— A canvas that can be rendered to off the main thread and without being attached to the DOM. It exposes drawing contexts via OffscreenCanvas.getContext and can produce a Blob or ImageBitmap from its contents.OffscreenRenderingContextOffscreenRenderingContextIdPremultiplyAlpha— Specifies whether the bitmap's color channels should be premultiplied by the alpha channel.ResizeQuality— Specifies the algorithm to be used for resizing the input to match the output dimensions. One of `pixelated`, `low` (default), `medium`, or `high`.
Crypto
AesCbcParamsAesCtrParamsAesDerivedKeyParamsAesGcmParamsAesKeyAlgorithmAesKeyGenParamsAlgorithmAlgorithmIdentifierBigIntegercrypto— The global instance of Crypto that provides access to the Web Crypto API, including cryptographically secure random number generation via Crypto.getRandomValues, random UUID generation via Crypto.randomUUID, and the low-level primitives exposed by SubtleCrypto through Crypto.subtle.Crypto— This Web Crypto API interface provides basic cryptographic functionality. It is accessed via the global crypto property, which gives access to cryptographically strong random number generation and to the low-level primitives exposed by SubtleCrypto through Crypto.subtle.CryptoKey— The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.CryptoKeyPair— The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.EcdhKeyDeriveParamsEcdsaParamsEcKeyAlgorithmEcKeyGenParamsEcKeyImportParamsHashAlgorithmIdentifierHkdfParamsHmacImportParamsHmacKeyAlgorithmHmacKeyGenParamsJsonWebKeyKeyAlgorithmKeyFormatKeyTypeKeyUsageNamedCurvePbkdf2ParamsRsaHashedImportParamsRsaHashedKeyAlgorithmRsaHashedKeyGenParamsRsaKeyAlgorithmRsaKeyGenParamsRsaOaepParamsRsaOtherPrimesInfoRsaPssParamsSubtleCrypto— This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via globalThis.crypto).
Encoding
atob— Decodes a string of data which has been encoded using base-64 encoding.btoa— Creates a base-64 ASCII encoded string from the input string.TextDecodeOptionsTextDecoder— Represents a decoder for a specific text encoding, allowing you to convert binary data into a string given the encoding.TextDecoderCommonTextDecoderOptionsTextDecoderStreamTextEncoder— Allows you to convert a string into binary data (in the form of a Uint8Array) given the encoding.TextEncoderCommonTextEncoderEncodeIntoResultTextEncoderStream
Events
addEventListener— Registers an event listener in the global scope, which will be called synchronously whenever the event `type` is dispatched.AddEventListenerOptions— Options for configuring an event listener via `addEventListener`.CustomEventCustomEventInitdispatchEvent— Dispatches an event in the global scope, synchronously invoking any registered event listeners for this event in the appropriate order. Returns false if event is cancelable and at least one of the event handlers which handled this event called Event.preventDefault(). Otherwise it returns true.ErrorEventErrorEventInitEvent— An event which takes place in the DOM.EventInitEventListenerEventListenerObject— The `EventListenerObject` interface represents an object that can handle events dispatched by an `EventTarget` object.EventListenerOptionsEventListenerOrEventListenerObjectEventTarget— EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.MessageEventMessageEventInitMessageEventSourceonbeforeunload— Before unload event handler for the window. In Ende, this is primarily for API compatibility with browsers.onerror— Error event handler for the window. Triggered when an uncaught error occurs in the global scope.onload— Load event handler for the window. In Ende, this is primarily for API compatibility with browsers.onunhandledrejection— Event handler for unhandled promise rejections. Triggered when a `Promise` is rejected and no rejection handler is attached to it.onunload— Unload event handler for the window. In Ende, this is primarily for API compatibility with browsers.ProgressEvent— Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>).ProgressEventInitPromiseRejectionEventPromiseRejectionEventInitremoveEventListener— Remove a previously registered event listener from the global scopeTransferable
Fetch
BodyBodyInitEventSource— Represents a connection to a server that sends server-sent events, receiving updates pushed by the server as a stream of `message` events over a persistent HTTP connection that automatically reconnects when interrupted.EventSourceEventMapEventSourceInitfetch— Fetch a resource from the network. It returns a `Promise` that resolves to the `Response` to that `Request`, whether it is successful or not.FormData— Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".FormDataEntryValueHeaders— This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples). In all methods of this interface, header names are matched by case-insensitive byte sequence.HeadersInitReferrerPolicyRequest— This Fetch API interface represents a resource request.RequestCacheRequestCredentialsRequestDestinationRequestInfoRequestInitRequestModeRequestPriorityRequestRedirectResponse— This Fetch API interface represents the response to a request.ResponseInitResponseType
File
Blob— A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.BlobPartBlobPropertyBagEndingTypeFile— Provides information about files and allows JavaScript in a web page to access their content.FilePropertyBagFileReader— Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.FileReaderEventMap
Geometry Interfaces Module API
DOMMatrix— The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation. It is a mutable version of the DOMMatrixReadOnly interface. The interface is available inside web workers.DOMMatrix2DInitDOMMatrixInitDOMMatrixReadOnly— The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interface — which is based upon DOMMatrixReadOnly—adds mutability, allowing you to alter the matrix after creating it.DOMPoint— A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value. DOMPoint is based on DOMPointReadOnly but allows its properties' values to be changed.DOMPointInitDOMPointReadOnly— The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.DOMQuad— A **`DOMQuad`** is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.DOMQuadInitDOMRect— A **`DOMRect`** describes the size and position of a rectangle.DOMRectInitDOMRectReadOnly— The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.
GPU
GPU— The entry point to WebGPU in Ende, accessed via the global navigator.gpu property.GPUAdapter— Represents a physical GPU device that can be used to create a logical GPU device.GPUAdapterInfoGPUAddressModeGPUAutoLayoutModeGPUBindGroupGPUBindGroupDescriptorGPUBindGroupEntryGPUBindGroupLayoutGPUBindGroupLayoutDescriptorGPUBindGroupLayoutEntryGPUBindingResourceGPUBlendComponentGPUBlendFactorGPUBlendOperationGPUBlendStateGPUBuffer— Represents a block of memory allocated on the GPU.GPUBufferBindingGPUBufferBindingLayoutGPUBufferBindingTypeGPUBufferDescriptorGPUBufferMapStateGPUBufferUsageGPUBufferUsageFlagsGPUColorGPUColorDictGPUColorTargetStateGPUColorWriteGPUColorWriteFlagsGPUCommandBufferGPUCommandBufferDescriptorGPUCommandEncoder— Used to record GPU commands for later execution by the GPU.GPUCommandEncoderDescriptorGPUCompareFunctionGPUCompilationInfoGPUCompilationMessageGPUCompilationMessageTypeGPUComputePassDescriptorGPUComputePassEncoderGPUComputePassTimestampWritesGPUComputePipelineGPUComputePipelineDescriptorGPUCullModeGPUDepthStencilStateGPUDevice— The primary interface for interacting with a WebGPU device.GPUDeviceDescriptorGPUDeviceLostInfoGPUDeviceLostReasonGPUError— The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event. Available only in secure contexts.GPUErrorFilterGPUExtent3DGPUExtent3DDictGPUFeatureNameGPUFilterModeGPUFlagsConstantGPUFragmentStateGPUFrontFaceGPUIndexFormatGPUInternalErrorGPULoadOpGPUMapModeGPUMapModeFlagsGPUMipmapFilterModeGPUMultisampleStateGPUObjectBaseGPUObjectDescriptorBaseGPUOrigin3DGPUOrigin3DDictGPUOutOfMemoryErrorGPUPipelineBaseGPUPipelineDescriptorBaseGPUPipelineError— The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure. Available only in secure contexts.GPUPipelineErrorInitGPUPipelineLayoutGPUPipelineLayoutDescriptorGPUPowerPreferenceGPUPrimitiveStateGPUPrimitiveTopologyGPUProgrammablePassEncoderGPUProgrammableStageGPUQuerySetGPUQuerySetDescriptorGPUQueryTypeGPUQueue— Represents a queue to submit commands to the GPU.GPURenderBundleGPURenderBundleDescriptorGPURenderBundleEncoderGPURenderBundleEncoderDescriptorGPURenderEncoderBaseGPURenderPassColorAttachmentGPURenderPassDepthStencilAttachmentGPURenderPassDescriptorGPURenderPassEncoderGPURenderPassLayoutGPURenderPassTimestampWritesGPURenderPipelineGPURenderPipelineDescriptorGPURequestAdapterOptionsGPUSamplerGPUSamplerBindingLayoutGPUSamplerBindingTypeGPUSamplerDescriptorGPUShaderModule— Represents a compiled shader module that can be used to create graphics or compute pipelines.GPUShaderModuleDescriptorGPUShaderStageGPUShaderStageFlagsGPUStencilFaceStateGPUStencilOperationGPUStorageTextureAccessGPUStorageTextureBindingLayoutGPUStoreOpGPUSupportedFeaturesGPUSupportedLimitsGPUTexelCopyBufferInfoGPUTexelCopyBufferLayoutGPUTexelCopyTextureInfoGPUTexture— Represents a texture (image) in GPU memory.GPUTextureAspectGPUTextureBindingLayoutGPUTextureDescriptorGPUTextureDimensionGPUTextureFormatGPUTextureSampleTypeGPUTextureUsageGPUTextureUsageFlagsGPUTextureViewGPUTextureViewDescriptorGPUTextureViewDimensionGPUUncapturedErrorEventGPUUncapturedErrorEventInitGPUValidationErrorGPUVertexAttributeGPUVertexBufferLayoutGPUVertexFormatGPUVertexStateGPUVertexStepMode
I/O
console— A global console object that provides methods for logging, debugging, and error reporting. The console object provides access to the browser's or runtime's debugging console functionality. It allows developers to output text and data for debugging purposes.Console— The Console interface provides methods for logging information to the console, as well as other utility methods for debugging and inspecting code. Methods include logging, debugging, and timing functionality.
Intl
Intl— The `Intl` namespace groups the ECMAScript Internationalization API constructors and functions.
Messaging
BroadcastChannel— Represents a named channel that any BroadcastChannel with the same name (across workers or isolates in the same Ende process) can use to send and receive messages, allowing one-to-many communication between execution contexts.BroadcastChannelEventMapMessageChannel— The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.MessagePort— The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.MessagePortEventMap
Performance
performance— The global Performance instance, providing access to high-resolution timing via `performance.now()` and the user-timing marks and measures APIs.Performance— Ende supports User Timing Level 3 which is not widely supported yet in other runtimes.PerformanceEntry— Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the `.mark()` method) at an explicit point in an application.PerformanceEntryListPerformanceMark— `PerformanceMark` is an abstract interface for `PerformanceEntry` objects with an entryType of `"mark"`. Entries of this type are created by calling `performance.mark()` to add a named `DOMHighResTimeStamp` (the mark) to the performance timeline.PerformanceMarkOptions— Options which are used in conjunction with `performance.mark`. Check out the MDN `performance.mark()` documentation for more details.PerformanceMeasure— `PerformanceMeasure` is an abstract interface for `PerformanceEntry` objects with an entryType of `"measure"`. Entries of this type are created by calling `performance.measure()` to add a named `DOMHighResTimeStamp` (the measure) between two marks to the performance timeline.PerformanceMeasureOptions— Options which are used in conjunction with `performance.measure`. Check out the MDN `performance.mark()` documentation for more details.PerformanceObserver— Observes performance measurement events and is notified of new PerformanceEntry objects as they are recorded in the performance timeline.PerformanceObserverCallback— The callback invoked when the observed set of performance entries grows.PerformanceObserverEntryList— A list of PerformanceEntry objects passed to a PerformanceObserver callback via its `observe()` method.
Platform
AbortController— A controller object that allows you to abort one or more DOM requests as and when desired.AbortSignal— A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.AbortSignalEventMapalert— Shows the given message and waits for the enter key pressed.AllowSharedBufferSourceBufferSourceclearInterval— Cancels a timed, repeating action which was previously started by a call to `setInterval()`clearTimeout— Cancels a scheduled action initiated by `setTimeout()`close— Exits the current Ende process.closed— Indicates whether the current window (context) is closed. In Ende, this property is primarily for API compatibility with browsers.confirm— Shows the given message and waits for the answer. Returns the user's answer as boolean.CSSRule— **UNSTABLE**: New API, yet to be vetted.CSSStyleSheet— **UNSTABLE**: New API, yet to be vetted.DOMExceptionDomIterableDOMStringListErrorConstructorImageDataImageDataArrayImageDataPixelFormatImageDataSettingsImportMeta— Ende provides extra properties on `import.meta`. These are included here to ensure that these are still available when using the Ende namespace in conjunction with other type libs, like `dom`.location— The Location object describing the absolute URL of the main module, available when the program is started with the `--location` flag. Accessing it without `--location` throws.Location— The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Accessible via `globalThis.location`.Mathname— Gets or sets the name of the global scope's browsing context.navigator— Provides access to the Ende runtime's `Navigator` interface, which contains information about the environment in which the script is running.Navigator— Provides information about the Ende runtime environment and the system on which it's running. Similar to the browser `Navigator` object but adapted for the Ende context.NavigatorUABrandVersion— A brand and version pair describing a user agent, as returned by NavigatorUAData.NavigatorUAData— Gives access to information about the runtime's user agent, exposed via Navigator.userAgentData. This is the User-Agent Client Hints API.PredefinedColorSpaceprompt— Shows the given message and waits for the user's input. Returns the user's input as string.queueMicrotask— A microtask is a short function which is executed after the function or module which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used to drive the script's execution environment. This event loop may be either the main event loop or the event loop driving a web worker.QuotaExceededError— Represents an error when a quota has been exceeded.QuotaExceededErrorOptionsRegExpConstructorreportError— Dispatch an uncaught exception. Similar to a synchronous version of: ```ts setTimeout(() => { throw error; }, 0); ``` The error can not be caught with a `try/catch` block. An error event will be dispatched to the global scope. You can prevent the error from being reported to the console with `Event.prototype.preventDefault()`: ```ts addEventListener("error", (event) => { event.preventDefault(); }); reportError(new Error("foo")); // Will not be reported. ``` In Ende, this error will terminate the process if not intercepted like above.self— Reference to the global object itself. Equivalent to the global `window` object in browser environments.setInterval— Repeatedly calls a function , with a fixed time delay between each call.setTimeout— Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returns an id which may be used to cancel the timeout.structuredClone— Creates a deep copy of a given value using the structured clone algorithm.UADataValues— The values returned by NavigatorUAData.getHighEntropyValues.UALowEntropyJSON— The low-entropy values returned by NavigatorUAData.toJSON.Uint8ArrayUint8ArrayConstructorVoidFunctionWebTransport— MDN ReferenceWebTransportBidirectionalStream— MDN ReferenceWebTransportCloseInfoWebTransportCongestionControlWebTransportDatagramDuplexStream— MDN ReferenceWebTransportError— MDN ReferenceWebTransportErrorOptionsWebTransportErrorSourceWebTransportHashWebTransportOptionsWebTransportReceiveStream— MDN ReferenceWebTransportReceiveStreamStatsWebTransportSendGroup— MDN ReferenceWebTransportSendStream— MDN ReferenceWebTransportSendStreamOptionsWebTransportSendStreamStatsWebTransportWriter— MDN ReferenceWindow— Represents the global window object in the Ende runtime environment.WindowEventMap— Defines the mapping between event names and their corresponding event types for the `Window` interface in Ende.
Storage
localStorage— Ende's `localStorage` API provides a way to store key-value pairs in a web-like environment, similar to the Web Storage API found in browsers. It allows developers to persist data across sessions in an Ende application. This API is particularly useful for applications that require a simple and effective way to store data locally.sessionStorage— Ende's `sessionStorage` API operates similarly to the localStorage API, but it is intended for storing data temporarily for the duration of a session. Data stored in sessionStorage is cleared when the application session or process ends. This makes it suitable for temporary data that you do not need to persist across user sessions.Storage— This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
Streams
ByteLengthQueuingStrategyCompressionFormatCompressionStream— An API for compressing a stream of data.CountQueuingStrategy— This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.DecompressionStream— An API for decompressing a stream of data.GenericTransformStreamQueuingStrategyQueuingStrategyInitQueuingStrategySizeReadableByteStreamControllerReadableStream— This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptionsReadableStreamBYOBRequestReadableStreamControllerReadableStreamDefaultControllerReadableStreamDefaultReaderReadableStreamGenericReaderReadableStreamGetReaderOptionsReadableStreamIteratorOptionsReadableStreamReadDoneResultReadableStreamReaderReadableStreamReaderModeReadableStreamReadResultReadableStreamReadValueResultReadableStreamTypeReadableWritablePairStreamPipeOptionsTransformerTransformerCancelCallbackTransformerFlushCallbackTransformerStartCallbackTransformerTransformCallbackTransformStreamTransformStreamDefaultControllerUnderlyingByteSourceUnderlyingDefaultSourceUnderlyingSinkUnderlyingSinkAbortCallbackUnderlyingSinkCloseCallbackUnderlyingSinkStartCallbackUnderlyingSinkWriteCallbackUnderlyingSourceUnderlyingSourceCancelCallbackUnderlyingSourcePullCallbackUnderlyingSourceStartCallbackWritableStream— This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.WritableStreamDefaultController— This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.WritableStreamDefaultWriter— This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
URL
URL— The URL interface represents an object providing static methods used for creating, parsing, and manipulating URLs in Ende.URLPattern— The URLPattern API provides a web platform primitive for matching URLs based on a convenient pattern syntax.URLPatternComponentResultURLPatternInitURLPatternInputURLPatternOptions— Options for the URLPattern constructor.URLPatternResult— `URLPatternResult` is the object returned from `URLPattern.exec`.URLSearchParams— URLSearchParams provides methods for working with the query string of a URL.URLSearchParamsIterator— Iterator for the URLSearchParams class, used to iterate over key-value pairs in search parameters.
Wasm
WebAssembly— The `WebAssembly` JavaScript object acts as the namespace for all WebAssembly-related functionality. Unlike most global objects, it is not a constructor; it groups the functions used to compile and instantiate WebAssembly modules together with the classes (`Module`, `Instance`, `Memory`, `Table`, `Global`) and error types used to work with them.
WebSockets
BinaryType— Specifies the type of binary data being received over a `WebSocket` connection.CloseEvent— The `CloseEvent` interface represents an event that occurs when a `WebSocket` connection is closed.CloseEventInit— Configuration options for a `WebSocket` "close" event.WebSocket— Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.WebSocketCloseInfo— **UNSTABLE**: New API, yet to be vetted.WebSocketConnection— **UNSTABLE**: New API, yet to be vetted.WebSocketError— **UNSTABLE**: New API, yet to be vetted.WebSocketEventMap— Interface mapping `WebSocket` event names to their corresponding event types. Used for strongly typed event handling with `addEventListener` and `removeEventListener`.WebSocketOptions— Options for a WebSocket instance. This feature is non-standard.WebSocketStream— **UNSTABLE**: New API, yet to be vetted.WebSocketStreamOptions— **UNSTABLE**: New API, yet to be vetted.
Workers
AbstractWorkerEventMapWorker— The Worker interface represents a background task that can be created via the `new Worker()` constructor. Workers run in a separate thread, allowing for parallel execution without blocking the main thread.WorkerEventMapWorkerOptions
Other
StructuredSerializeOptions— Options that control structured serialization operations such as `structuredClone(value, options)` and `MessagePort.postMessage(message, options)`.Temporal