Skip to content

[Question] 关于 event 的使用方式的一些问题 #3283

@zhuzeyu22

Description

@zhuzeyu22

event 的使用方式

有些地方使用的是 this.eventBus.fire 出来的事件
有些地方是 Emitter 出来的事件发射器,

我想知道这两种不同的使用方式分别什么情况下使用比较好?

Metadata

Metadata

Assignees

No one assigned

    Labels

    💬 questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions