Adds a warning regarding vault access in @Suspendable functions

This commit is contained in:
Joel Dudley 2016-12-14 15:23:09 +00:00 committed by GitHub
parent 7afa3346d6
commit 1d1a067ead

View File

@ -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
------------------