콘텐츠로 이동

Channel

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/core · Kind Class

import { Channel } from '@netwiv/api/core';
new Channel<T = unknown>(onmessage?: ((response: T)
cleanupCallback: any
id: number

The callback id returned from {@linkcode transformCallback}

onmessage(response: T): void
toJSON(): string

Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.