transformCallback
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/core · Kind Function
import { transformCallback } from '@netwiv/api/core';Stores the callback in a known location, and returns an identifier that can be passed to the backend.
The backend uses the identifier to eval() the callback.
Signature
Section titled “Signature”function transformCallback<T = unknown>(callback?: ((response: T): void) | undefined, once?: boolean | undefined) => numberUpstream since 1.0.0
Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.