WasiPreview3CanonicalIntrinsics

Functions

Link copied to clipboard
open suspend fun awaitFutureValue(futureHandle: Long): Any?
Link copied to clipboard
open suspend fun awaitStreamReadable(streamHandle: Long)
Link copied to clipboard
open suspend fun awaitStreamWritable(streamHandle: Long)
Link copied to clipboard
open fun completedFutureHandle(value: Any?): Long
Link copied to clipboard
abstract fun futureCancelRead(futureHandle: Long): Long
Link copied to clipboard
abstract fun futureCancelWrite(futureHandle: Long): Long
Link copied to clipboard
abstract fun futureDropReadable(futureHandle: Long)
Link copied to clipboard
abstract fun futureDropWritable(futureHandle: Long)
Link copied to clipboard
abstract fun futureNew(): Long
Link copied to clipboard
abstract fun futureRead(context: WasiPreview3CanonicalContext, futureHandle: Long, ptr: Int, payloadType: WitPackage.TypeRef): Long
Link copied to clipboard
abstract fun futureWrite(context: WasiPreview3CanonicalContext, futureHandle: Long, ptr: Int, payloadType: WitPackage.TypeRef): Long
Link copied to clipboard
abstract fun streamCancelRead(streamHandle: Long): Long
Link copied to clipboard
abstract fun streamCancelWrite(streamHandle: Long): Long
Link copied to clipboard
abstract fun streamDropReadable(streamHandle: Long)
Link copied to clipboard
abstract fun streamDropWritable(streamHandle: Long)
Link copied to clipboard
abstract fun streamNew(payloadType: WitPackage.TypeRef): Long
Link copied to clipboard
abstract fun streamRead(context: WasiPreview3CanonicalContext, streamHandle: Long, ptr: Int, len: Int, payloadType: WitPackage.TypeRef): Long
Link copied to clipboard
abstract fun streamWrite(context: WasiPreview3CanonicalContext, streamHandle: Long, ptr: Int, len: Int, payloadType: WitPackage.TypeRef): Long