Created
September 10, 2022 15:07
-
-
Save vikingosegundo/0e1e85a34e82316ef2e75d8c75e23bc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typealias Access<S> = ( ) -> S | |
typealias Change<C> = ( C... ) -> () | |
typealias Reset = ( ) -> () | |
typealias Callback = ( @escaping () -> () ) -> () | |
typealias Destroy = ( ) -> () | |
typealias Store<S,C> = ( | |
state: Access<S>, | |
change: Change<C>, | |
reset: Reset, | |
updated: Callback, | |
destroy: Destroy | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment