New APIs enable(mode: string) and disable(mode: string), where mode is either bt, lan, internet, room, etc.
Manyverse already has an API to disable bluetooth, so lets forward that to ssb-conn, which should (in the scheduler) unstage all bt peers.
OR instead of enable/disable which is more opinionated to how the scheduler works, we could provide a single API configure(opts: any) where opts can take any shape, and the scheduler can then read the opts.
New APIs
enable(mode: string)
anddisable(mode: string)
, wheremode
is eitherbt
,lan
,internet
,room
, etc.Manyverse already has an API to disable bluetooth, so lets forward that to ssb-conn, which should (in the scheduler) unstage all bt peers.
OR instead of enable/disable which is more opinionated to how the scheduler works, we could provide a single API
configure(opts: any)
where opts can take any shape, and the scheduler can then read theopts
.