Skip to content

Commit 733dc68

Browse files
committed
add description for DataHandler with Future
1 parent 8a679af commit 733dc68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ class MyDataHandler extends DataHandler[User] {
8080
}
8181
```
8282

83+
If your data access is blocking for the data storage, then you just wrap your implementation in the ```DataHandler``` trait with ```Future.successful(...)```.
84+
8385
For more details, refer to Scaladoc of ```DataHandler```.
8486

8587
### Work with Playframework

0 commit comments

Comments
 (0)