mirror of
https://github.com/corda/corda.git
synced 2025-05-29 21:54:26 +00:00
Adds a warning regarding vault access in @Suspendable functions
This commit is contained in:
parent
7afa3346d6
commit
1d1a067ead
@ -188,6 +188,8 @@ and try again.
|
||||
|
||||
.. note:: Java 9 is likely to remove this pre-marking requirement completely.
|
||||
|
||||
.. note:: Accessing the vault from inside an @Suspendable function (e.g. via ``serviceHub.vaultService``) can cause a serialisation error when the fiber suspends. Instead, vault access should be performed from a helper non-suspendable function, which you then call from the @Suspendable function. We are working to fix this.
|
||||
|
||||
Starting your flow
|
||||
------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user