internal JSHandle(IChannelOwner parent, string guid, JSHandleInitializer initializer) : base(parent, guid) { _channel = new JSHandleChannel(guid, parent.Connection, this); _initializer = initializer; Preview = _initializer.Preview; }
internal JSHandle(ConnectionScope scope, string guid, JSHandleInitializer toObject) { _scope = scope; _channel = new JSHandleChannel(guid, scope, this); }