mirror of
https://github.com/corda/corda.git
synced 2025-05-30 22:24:22 +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:: 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
|
Starting your flow
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user