Skip to content

Commit 7213566

Browse files
Preparation for major version 4.0.0 release.
1 parent c4be12d commit 7213566

File tree

2 files changed

+79
-1
lines changed

2 files changed

+79
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ root = true
33
[*]
44
end_of_line = lf
55
insert_final_newline = true
6-
max_line_length = 140
6+
max_line_length = 140

docs/CHANGELOG-4.0.0.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,81 @@ fun AbstractParty.strictEquals(other: AbstractParty): Boolean
2424

2525
---
2626

27+
### checkSufficientSessionsForCounterparties _Extension Function_
28+
29+
**Module:** onixlabs-corda-core-workflow
30+
31+
**Package:** io.onixlabs.corda.core.workflow
32+
33+
Checks that sufficient flow sessions have been provided for the specified counter-parties.
34+
35+
```kotlin
36+
@Suspendable
37+
fun FlowLogic<*>.checkSufficientSessionsForCounterparties(
38+
sessions: Iterable<FlowSession>,
39+
counterparties: Iterable<AbstractParty>,
40+
projectParty: (AbstractParty) -> AbstractParty = { it }
41+
): Unit
42+
```
43+
44+
---
45+
46+
### checkSufficientSessionsForContractStates _Extension Function_
47+
48+
**Module:** onixlabs-corda-core-workflow
49+
50+
**Package:** io.onixlabs.corda.core.workflow
51+
52+
Checks that sufficient flow sessions have been provided for the specified states.
53+
54+
```kotlin
55+
@Suspendable
56+
fun FlowLogic<*>.checkSufficientSessionsForContractStates(
57+
sessions: Iterable<FlowSession>,
58+
states: Iterable<ContractState>,
59+
partyProjection: (AbstractParty) -> AbstractParty = { it }
60+
): Unit
61+
```
62+
63+
---
64+
65+
### checkSufficientSessionsForContractStates _Extension Function_
66+
67+
**Module:** onixlabs-corda-core-workflow
68+
69+
**Package:** io.onixlabs.corda.core.workflow
70+
71+
Checks that sufficient flow sessions have been provided for the specified states.
72+
73+
```kotlin
74+
@Suspendable
75+
fun FlowLogic<*>.checkSufficientSessionsForContractStates(
76+
sessions: Iterable<FlowSession>,
77+
vararg states: ContractState,
78+
projectParty: (AbstractParty) -> AbstractParty = { it }
79+
): Unit
80+
```
81+
82+
---
83+
84+
### checkSufficientSessionsForTransactionBuilder _Extension Function_
85+
86+
**Module:** onixlabs-corda-core-workflow
87+
88+
**Package:** io.onixlabs.corda.core.workflow
89+
90+
Checks that sufficient flow sessions have been provided for the specified transaction.
91+
92+
```kotlin
93+
@Suspendable
94+
fun FlowLogic<*>.checkSufficientSessionsForTransactionBuilder(
95+
sessions: Iterable<FlowSession>,
96+
transaction: TransactionBuilder,
97+
partyProjection: (AbstractParty) -> AbstractParty = { it }
98+
projectParty: (AbstractParty) -> AbstractParty = { it }
99+
): Unit
100+
```
101+
102+
---
103+
104+
###

0 commit comments

Comments
 (0)