Skip to content

Subscribe Events

Subscribe Events

SubscribeEvent

    AllEventFilter eventFilter = new AllEventFilter();

    Disposable disposable =
    SUI.subscribeEvent(eventFilter, System.out::println, System.out::println);

    disposable.dispose();

For more examples, you can see SuiIntTests