DurableObjectState

external interface DurableObjectState

Properties

Link copied to clipboard
abstract var id: DurableObjectId
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun acceptWebSocket(ws: WebSocket, tags: Array<String> = definedExternally)
Link copied to clipboard
abstract fun <T> blockConcurrencyWhile(callback: () -> Promise<T>): Promise<T>
Link copied to clipboard
Link copied to clipboard
abstract fun getWebSockets(tag: String = definedExternally): Array<WebSocket>
Link copied to clipboard
abstract fun setWebSocketAutoResponse(maybeReqResp: WebSocketRequestResponsePair = definedExternally)
Link copied to clipboard
abstract fun waitUntil(promise: Promise<Any>)