Skip to main content
Module

x/scaffold/src/deps/comlink.ts>RemoteObject

scaffold your next project with style and 💗
Latest
type alias RemoteObject
import { type RemoteObject } from "https://deno.land/x/scaffold@0.3.0/src/deps/comlink.ts";

Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread when proxied with Comlink.proxy().

This does not handle call signatures, which is handled by the more general Remote<T> type.

Type Parameters

T

The raw type of a remote object as seen in the other thread.

definition: [P in keyof T]: RemoteProperty<T[P]>