Method
constructor
(
readonly eventBus: EventBus,
options: EventOptions,
public workspaceMode = false,
)
Source from the content-addressed store, hash-verified
| 14 | private readonly options: EventOptions |
| 15 | |
| 16 | constructor( |
| 17 | readonly eventBus: EventBus, |
| 18 | options: EventOptions, |
| 19 | public workspaceMode = false, |
| 20 | ) { |
| 21 | this.options = options |
| 22 | if (!this.options.prefix) { |
| 23 | logger.warn('prefix is required while initializing Event') |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * 监听事件 |
Callers
nothing calls this directly
Tested by
no test coverage detected