MCPcopy Index your code
hub / github.com/andywer/threads.js / TransferDescriptor

Interface TransferDescriptor

src/transferable.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { $transferable } from "./symbols"
2
3export interface TransferDescriptor<T = any> {
4 [$transferable]: true
5 send: T
6 transferables: Transferable[]
7}
8
9function isTransferable(thing: any): thing is Transferable {
10 if (!thing || typeof thing !== "object") return false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected