Skip to content

Instantly share code, notes, and snippets.

View opengamer29's full-sized avatar
🦇

Eugene Komarov opengamer29

🦇
View GitHub Profile
fun <
ConsumerEvent : Any,
ConsumerState : Any,
ConsumerEffect : Any,
ProducerEvent : Any,
ProducerState : Any,
ProducerEffect : Any,
> Store<ConsumerEvent, ConsumerState, ConsumerEffect>.linkTo(
producerStore: Store<ProducerEvent, ProducerEffect, ProducerState>,
effectMapper: (ProducerEffect) -> ConsumerEvent?,