Lines Matching refs:MessagePort
18 class MessagePort;
60 // This is the last message to be received by a MessagePort.
94 // Used for warning user about posting the target MessagePort to itself,
118 friend class MessagePort;
126 // Anonymous SiblingGroup, Used for one-to-one MessagePort pairs.
166 // This contains all data for a `MessagePort` instance that is not tied to
170 explicit MessagePortData(MessagePort* owner);
212 MessagePort* owner_ = nullptr;
214 friend class MessagePort;
221 class MessagePort : public HandleWrap {
223 // Create a new MessagePort. The `context` argument specifies the Context
225 // This is called by MessagePort::New(), which is the public API used for
226 // creating MessagePort instances.
227 MessagePort(Environment* env,
232 ~MessagePort() override;
236 static MessagePort* New(Environment* env,
269 static void Entangle(MessagePort* a, MessagePort* b);
270 static void Entangle(MessagePort* a, MessagePortData* b);
283 // If checking if a JavaScript MessagePort object is detached, this method
284 // alone is often not enough, since the backing C++ MessagePort object may
286 // NULL pointer to the C++ MessagePort object is also detached.
293 SET_MEMORY_INFO_NAME(MessagePort)
294 SET_SELF_SIZE(MessagePort)