InboxType
PackageAxial.ElmishFlows
Inbox
Inbox<'value> is a dropping queue for synchronous UI input, created by
Inbox.create capacity runtime. It shuts down with the runtime.
Operations
Inbox.offer value inboxis an Elmish command.Inbox.post value inboxoffers immediately and returns whether it was accepted.Inbox.dropped inboxreports how many values were dropped, for when input can outpace the consumer.Inbox.stream inboxexposes the inbox as aFlowStream. Pipe it throughFlowStream.debounceandFlowStream.switchMapFlowfor search-as-you-type, then subscribe to the resulting stream.
Specification
Kind
Type
Members
6
Examples
0
createSignature
Inbox.create capacity runtime
postSignature
Inbox.post value inbox
offerSignature
Inbox.offer value inbox
droppedSignature
Inbox.dropped inbox
streamSignature
Inbox.stream inbox
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| create | Inbox.create capacity runtime | No description available. |
| post | Inbox.post value inbox | No description available. |
| offer | Inbox.offer value inbox | No description available. |
| dropped | Inbox.dropped inbox | No description available. |
| stream | Inbox.stream inbox | No description available. |
| Dropped | this.Dropped | No description available. |

