Deprecation of IEventDispatcher::dispatch

Hello developers :wave:,

I’m sure most of you have seen the “new” event dispatcher we have since a few releases. Now that we have more and more of the new, typed events, I’m thinking that we should also consider deprecating the untyped events where only a string is used as identifier and there is no relation to what event class will be emitted.

The ultimate goal should be to use \OCP\EventDispatcher\IEventDispatcher::dispatchTyped.

More info about the dispatcher and some historic background can be found at

So …

Shall we deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch()?
  • Yes
  • No

0 voters

1 Like

Thanks. URL updated. It changed due to 20 becoming the stable version.