Add one id or many. Duplicates are ignored. Throws TypeError on an empty/non-string id.
Remove one id or many. Unknown ids are ignored. Throws TypeError on an empty/non-string id.
Is id on the list? Exact, case-sensitive match. Never throws.
The ids on the list, in insertion order (a copy).
Remove every id.
Replace the contents with a snapshot from export (or a bare id array).
Always notifies onChange listeners with action 'load'.
JSON-serializable snapshot for host-side persistence.
Subscribe to effective mutations (no-op calls do not notify). Returns an unsubscriber. A throwing listener never breaks the mutation that triggered it.
A set of opaque ids with change notifications. Used as
bot.blacklist; the Whitelist subclass adds the enable/disable switch.