16 行
399 B
Plaintext
16 行
399 B
Plaintext
export type UTSWorkerAddListenerOptions = {
|
|
success ?: UTSWorkerReceiveEventCallback
|
|
}
|
|
|
|
export type UTSWorkerAddListenerOptionsSuccess = {
|
|
result : UTSJSONObject
|
|
}
|
|
|
|
export type UTSWorkerSendWorkerMessageOptions = {
|
|
message : Object,
|
|
harmonySendable ?: boolean
|
|
transfer ?: ArrayBuffer[]
|
|
}
|
|
|
|
export type UTSWorkerReceiveEventCallback = (callback : UTSWorkerAddListenerOptionsSuccess) => void
|