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