Skip to content

Latest commit

 

History

History
64 lines (34 loc) · 1.6 KB

_esp32_javascript_modules_esp32_javascript_http_.eventemitter.md

File metadata and controls

64 lines (34 loc) · 1.6 KB

esp32-javascript"esp32-javascript/modules/esp32-javascript/http"EventEmitter

Class: EventEmitter

Hierarchy

  • EventEmitter

Index

Properties

Methods

Properties

Private listener

listener: object

Defined in esp32-javascript/modules/esp32-javascript/http.ts:76

Type declaration:

  • [ event: string]: function[]

Methods

emit

emit(event: string): void

Defined in esp32-javascript/modules/esp32-javascript/http.ts:80

Parameters:

Name Type
event string

Returns: void


on

on(event: string, cb: function): void

Defined in esp32-javascript/modules/esp32-javascript/http.ts:77

Parameters:

event: string

cb: function

▸ (): void

Returns: void