km: improve dark mode / switching. mt: add worker log to ui
This commit is contained in:
parent
56454d7d24
commit
d0d9e99ede
5 changed files with 39 additions and 9 deletions
|
|
@ -34,6 +34,11 @@ const dispatch = moto.worker = {
|
|||
}
|
||||
},
|
||||
|
||||
// allow workers to publish messages on the client side
|
||||
publish(topic, message) {
|
||||
dispatch.send({publish: topic, message});
|
||||
},
|
||||
|
||||
ready() {
|
||||
dispatch.send({ready: true});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue