Expand description
Which websocket RPC commands are recorded (super::action_record), decided one
by one. Every command a connection can call is in exactly one of the lists below
(a test checks it against the commands a real connection registers), so a new
command cannot be added without someone deciding whether it changes anything.
Enums§
- Policy
- Whether a call of a command is recorded.
Constants§
- ALWAYS
- Changes state, runs or stops a process, writes files, sends to an agent or changes who may do what. Recorded whoever calls.
- LIVE_
INPUT - Terminal and language-server input and event subscriptions: live traffic, not actions.
- READ_
ONLY - Returns data and changes nothing.
- UNLESS_
OPERATOR - The window’s own view and bookkeeping state.
Functions§
- is_
a_ read - Whether this request, of a command that can write, only reads.
- is_
recorded - A command that is in no list is recorded: forgetting to decide never hides a call.
- policy
- How
commandis recorded;Nonefor a command in no list.