Internal Module
Nested modules
| Modules | Description |
|
|
Functions and values
| Function or value |
Description
|
Full Usage:
change onError dispatch (dupes, toStop, toKeep, toStart)
Parameters:
string * exn -> unit
dispatch : 'a
dupes : SubId list
toStop : (SubId * 'b) list
toKeep : (SubId * IDisposable) list
toStart : (SubId * ('a -> IDisposable)) list
Returns: (SubId * IDisposable) list
Type parameters: 'a, 'b (requires :> System.IDisposable) |
Apply a diff: warn on duplicates, stop removed, start added, keep the rest. Returns the new active set.
|
Full Usage:
diff activeSubs sub
Parameters:
(SubId * IDisposable) list
sub : Sub<'Msg>
Returns: SubId list * (SubId * IDisposable) list * (SubId * IDisposable) list * (SubId * Subscribe<'Msg>) list
Type parameters: 'Msg |
Compare the active set with the requested set. Returns duplicates, subs to stop, subs to keep, and subs to start.
|
|
|
Full Usage:
stop onError subs
Parameters:
string * exn -> unit
subs : (SubId * 'a) list
Type parameters: 'a (requires :> System.IDisposable) |
Stop a set of active subscriptions, reporting each failure.
|
Full Usage:
tryStart onError dispatch (subId, start)
Parameters:
string * exn -> unit
dispatch : 'a
subId : SubId
start : 'a -> IDisposable
Returns: (SubId * IDisposable) option
Type parameters: 'a |
|
Full Usage:
tryStop onError (subId, sub)
Parameters:
string * exn -> unit
subId : SubId
sub : IDisposable
|
|
Full Usage:
warnDupe onError subId
Parameters:
string * exn -> 'a
subId : SubId
Returns: 'a
Type parameters: 'a |
|
MVUish.Avalonia