Add new NotificationChannel constructors, for different kinds of channels. Store the receive timeout in the receiver; it depends on kind of channel.
Also add methods to send and receive notifications to senders and receivers. This hides the std::sync::mpsc machinery better, and makes the types easier to use.
Signed-off-by: Lars Wirzenius liw@liw.fi
feat: notify page generation about changes to runs more often
Change src/adapter.rs to send notification via the run notification channel when the adapter is spawned, and when the adapter sends a “triggered” message.
Signed-off-by: Lars Wirzenius liw@liw.fi
Add new NotificationChannel constructors, for different kinds of channels. Store the receive timeout in the receiver; it depends on kind of channel.
Also add methods to send and receive notifications to senders and receivers. This hides the std::sync::mpsc machinery better, and makes the types easier to use.
Signed-off-by: Lars Wirzenius liw@liw.fi
feat: notify page generation about changes to runs more often
Change src/adapter.rs to send notification via the run notification channel when the adapter is spawned, and when the adapter sends a “triggered” message.
Signed-off-by: Lars Wirzenius liw@liw.fi