apply changes from review #69

This commit is contained in:
Robert Kasperczyk committed 2017-03-11 11:50:19 +01:00
1 parent 7423f47daa
commit a20abae21c
7 files changed
+96 -9

No files matched your search

+4 -4
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