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