Created
July 4, 2021 20:17
-
-
Save alexandrepiveteau/327a5eafe7c349c48093de983e5a9ad3 to your computer and use it in GitHub Desktop.
Additional builders for `MutableSite` with mutable backing model
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
| inline fun <R, M, reified T, reified C> mutableSite( | |
| identifier: SiteIdentifier, | |
| initial: M, | |
| projection: TwoWayProjection<M, T, C>, | |
| vararg events: Pair<EventIdentifier, T>, | |
| transform: (M) -> R, | |
| ): MutableSite<T, R> = TODO() | |
| inline fun <R, M, reified T> mutableSite( | |
| identifier: SiteIdentifier, | |
| initial: M, | |
| projection: OneWayProjection<M, T>, | |
| vararg events: Pair<EventIdentifier, T>, | |
| transform: (M) -> R, | |
| ): MutableSite<T, R> = TODO() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment