WebIDLpedia

MessageChannel interface

Definition

HTML Standard defines MessageChannel



[Exposed=(Window,Worker)]
interface MessageChannel {
  constructor();

  readonly attribute MessagePort port1;
  readonly attribute MessagePort port2;
};

Methods and attributes that return objects implementing MessageChannel