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:: 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
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
@ -505,4 +507,4 @@ the features we have planned:
|
|||||||
* Being able to interact with people, either via some sort of external ticketing system, or email, or a custom UI.
|
* Being able to interact with people, either via some sort of external ticketing system, or email, or a custom UI.
|
||||||
For example to implement human transaction authorisations.
|
For example to implement human transaction authorisations.
|
||||||
* A standard library of flows that can be easily sub-classed by local developers in order to integrate internal
|
* A standard library of flows that can be easily sub-classed by local developers in order to integrate internal
|
||||||
reporting logic, or anything else that might be required as part of a communications lifecycle.
|
reporting logic, or anything else that might be required as part of a communications lifecycle.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user