Stops listening to events. Execution is blocked until the container is fully stopped or the specified timeout elapses.
Declaration Syntax
Parameters
- timeout (TimeSpan)
- Maximum time to wait for container to stop.
Return Value
true if the container managed to stop before the specified timeout elapsed, false otherwise.