Transferable overview
Added in v1.0.0
Table of contents
accessors
addAll
Signature
export declare const addAll: (tranferables: Iterable<globalThis.Transferable>) => Effect.Effect<void>
Added in v1.0.0
constructors
makeCollector
Signature
export declare const makeCollector: Effect.Effect<CollectorService>
Added in v1.0.0
unsafeMakeCollector
Signature
export declare const unsafeMakeCollector: () => CollectorService
Added in v1.0.0
models
CollectorService (interface)
Signature
export interface CollectorService {
readonly addAll: (_: Iterable<globalThis.Transferable>) => Effect.Effect<void>
readonly unsafeAddAll: (_: Iterable<globalThis.Transferable>) => void
readonly read: Effect.Effect<Array<globalThis.Transferable>>
readonly unsafeRead: () => Array<globalThis.Transferable>
readonly unsafeClear: () => void
readonly clear: Effect.Effect<void>
}
Added in v1.0.0
schema
ImageData
Signature
export declare const ImageData: Schema.Schema<ImageData>
Added in v1.0.0
MessagePort
Signature
export declare const MessagePort: Schema.Schema<MessagePort>
Added in v1.0.0
Uint8Array
Signature
export declare const Uint8Array: Schema.Schema<Uint8Array>
Added in v1.0.0
schema
Signature
export declare const schema: {
<I>(f: (_: I) => Iterable<globalThis.Transferable>): <A, R>(self: Schema.Schema<A, I, R>) => Schema.Schema<A, I, R>
<A, I, R>(self: Schema.Schema<A, I, R>, f: (_: I) => Iterable<globalThis.Transferable>): Schema.Schema<A, I, R>
}
Added in v1.0.0
tags
Collector (class)
Signature
export declare class Collector
Added in v1.0.0