Enumerationswiftwasm.webapikit 0.1.0DOM
MessageEventSource
Generated.swift:22862enum MessageEventSource
enum MessageEventSource
import DOM
case messagePort(MessagePort)
case serviceWorker(ServiceWorker)
case windowProxy(WindowProxy)
protocol Any_MessageEventSource : ConvertibleToJSValue
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.
static func construct(from value: JSValue) -> Self?
var jsValue: JSValue { get }
var messagePort: MessagePort? { get }
var serviceWorker: ServiceWorker? { get }
var windowProxy: WindowProxy? { get }
func jsValue() -> JSValue