1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! What one session (or one command) runs with, instead of process-wide
//! state: its stop request, where its events go and where pairings are
//! kept. A program running
//! several sessions gives each its own.
use crateEvents;
use crateStorage;
use crateStop;
/// The per-session context, passed down from the API (or the CLI).