apply changes from review #69

This commit is contained in:
Robert Kasperczyk
2017-02-28 15:06:50 +01:00
parent 7423f47daa
commit a20abae21c
7 changed files with 96 additions and 9 deletions

View File

@ -10,12 +10,12 @@ tags:
---
## Intent
Use Guareded suspension pattern to handle a situation when you want to execute a method on object which is not in a proper state.
Use Guarded suspension pattern to handle a situation when you want to execute a method on object which is not in a proper state.
![Guarded Suspension diagram](./etc/guarded-suspension.png)
## Applicability
Use Guareded Suspension pattern when:
* the developer knows that the method execution will be blocked for a finite period of time
Use Guarded Suspension pattern when the developer knows that the method execution will be blocked for a finite period of time
## Related patterns
* Balking