Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на English (US).
The connect
event is fired in shared workers at their SharedWorkerGlobalScope
when a new client connects.
General info
- Specification
- HTML5
- Interface
MessageEvent
- Bubbles
- No
- Cancelable
- No
- Target
SharedWorkerGlobalScope
- Default Action
- None
Properties
Property | Type | Description |
---|---|---|
source Read only |
MessagePort |
The port of the newly connected client. |