Sub Module
Functions for creating and composing Elmish subscriptions.
Subscriptions connect external event sources to the Elmish update loop. The runtime automatically manages subscription lifecycle based on SubId diffing.
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
Maps a subscription producing messages of type 'A to produce messages of type 'Msg. This is essential for parent-child composition where child modules have their own message types. The idPrefix is prepended to all subscription IDs to namespace them properly.
Example
val childSub: obj
|
An empty subscription that does nothing. Use when no subscriptions are needed.
|
Mibo