A subscription describes a resource that an application is interested in.
Examples:
- a timeout notifies its subscribers when it expires,
- a video being played notifies its subscribers with subtitles.
- Type parameters:
- Msg
Type of message produced by the resource
- Companion:
- object