actix / actix/actix

Question: How to wait for an event on actor startup?

Aperta
#528 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Rust
Stelle
9.2k
Fork
675
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have an Actor that sets up an MQTT Server, but I only want the server to start, after I received a Message `DatabaseConnection`.

What would be the recommended way to do this?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.