Skip to content

EventEmitter to evt sample. #32

@UrielCh

Description

@UrielCh

Hi,

can you provide conversion list from EventEmitter to Evt ?

should we extend Evt in ours class ?
is this.emit(type, parma) should be replace by a this.evt.push([type, param])
is obj.on('event', (params) => {do stuff}) become evtText.attach???
is obj.once('event', (params) => {do stuff}) become evtText.attachOnce???
and where is the detach ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions