VContainer icon indicating copy to clipboard operation
VContainer copied to clipboard

does it have a signalBus feature like zenject?

Open virtouso opened this issue 1 year ago • 4 comments

i need to know is there a event dispatcher or signalbus with this container. i want to migrate from zenject to VContainer. is there any similar feature for that?

virtouso avatar Aug 14 '23 14:08 virtouso

image

from here: https://vcontainer.hadashikick.jp/comparing/comparing-to-zenject

YegorStepanov avatar Sep 09 '23 18:09 YegorStepanov

Use MessagePipe which is superior to Zenject signales and has VContainter integration. Better yet, consider if you REALLY need signals/message que in your design.

slimshader avatar Dec 12 '23 13:12 slimshader

I simply install IObservables and use UniRx

AlonTalmi avatar Dec 12 '23 14:12 AlonTalmi

I simply install IObservables and use UniRx

the only thing in UniRx that resembles Signals is IMessageBus, Rx is fantastic technolory but best for handling event streams not to integrate components (like injectable signales or event bus)

slimshader avatar Dec 12 '23 14:12 slimshader

There are various paradigms for messaging systems, and the policy is not to build them into the DI container.

hadashiA avatar May 01 '24 05:05 hadashiA

i also figured out that unity has a builtin EventBus that works in same way as zenject signalBus. its always better to use builtin tools instead of bunch of plugins.

virtouso avatar May 01 '24 07:05 virtouso

:memo:. The following are some of the libraries that integrate well with VContainer.

  • https://github.com/hadashiA/VitalRouter
  • https://github.com/Cysharp/MessagePipe

hadashiA avatar May 15 '24 07:05 hadashiA