#Service up() is cancellable with sigterm only?
1 messages · Page 1 of 1 (latest)
Sounds like the right approach, yes.
1 messages · Page 1 of 1 (latest)
What is the idiomatic way to start and shutdown service using python SDK with exposed ports to host?
As far as I know up blocks and waits for sigterm.
...
await container.as_service().up()
...
Is concurrently awaiting second async task that continues processing and cancelling the await up() when required the right approach?
Sounds like the right approach, yes.