Document _createMoorIsolate

This commit is contained in:
Simon Binder 2021-06-09 22:23:55 +02:00
parent 684558a385
commit 359a19ddf1
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@ class _IsolateStartRequest {
}
```
Here, you can use `DatabaseConnection.delayed(_createMoorIsolate())` to obtain a
`DatabaseConnection` to use in your database.
### Shutting down the isolate
Since multiple `DatabaseConnection`s can exist to a specific `MoorIsolate`, simply calling