You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
I've addressed the first concern somewhat in the latest release. Additionally, a basic event could be implemented with minimal code by delegating the implementation to a collection instance (see SetEvent.kt)
As for the second, I'm not quite sure how this would fit in with the rest of the library. For a void event, I would just use an Event<Unit> and possibly define an extension function as follows:
operatorfun Event<Unit>.invoke() =this(Unit)
This should satisfy the "parameterless" event use-case.
Nice little library. I have two suggestions and I could send a PR if it's something you agree with:
The text was updated successfully, but these errors were encountered: