mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
18 lines
515 B
ReStructuredText
18 lines
515 B
ReStructuredText
|
.. highlight:: kotlin
|
||
|
.. raw:: html
|
||
|
|
||
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
||
|
<script type="text/javascript" src="_static/codesets.js"></script>
|
||
|
|
||
|
Flow cookbook
|
||
|
=============
|
||
|
|
||
|
This flow showcases how to use Corda's API, in both Java and Kotlin.
|
||
|
|
||
|
.. container:: codeset
|
||
|
|
||
|
.. literalinclude:: example-code/src/main/kotlin/net/corda/docs/FlowCookbook.kt
|
||
|
:language: kotlin
|
||
|
|
||
|
.. literalinclude:: example-code/src/main/java/net/corda/docs/FlowCookbookJava.java
|
||
|
:language: java
|