UnderlyingSource
Generated.swift:16763class UnderlyingSource
class UnderlyingSource
import DOM
class BridgedDictionary
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
convenience init(start: @escaping UnderlyingSourceStartCallback, pull: @escaping UnderlyingSourcePullCallback, cancel: @escaping UnderlyingSourceCancelCallback, type: ReadableStreamType, autoAllocateChunkSize: UInt64)
required init(unsafelyWrapping object: JSObject)
@ReadWriteAttribute var autoAllocateChunkSize: UInt64 { get set }
@ClosureAttribute1 var cancel: UnderlyingSourceCancelCallback { get set }
@ClosureAttribute1 var pull: UnderlyingSourcePullCallback { get set }
@ClosureAttribute1 var start: UnderlyingSourceStartCallback { get set }
@ReadWriteAttribute var type: ReadableStreamType { get set }