Skip to content

DefaultEventBus#publishLater should use queue instead of run #32

Open
@hinerm

Description

@hinerm

@dscho and @ctrueden -

Is it possible that having publishLater call EventService#run instead of EventService.queue could be violating some assumptions in IJ2?

At the least we should probably document the various publish methods in DefaultEventBus, as I'm not sure the expected behavior of a publishLater method would be to run it immediately on a new thread - especially given that publishNow uses ThreadService#invoke which appears to only run threads on the EDT... so the behavior of these two methods seems reversed/counter-intuitive without documentation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions