call

@Suspendable
abstract fun call(@NotNull session: FlowSession)

The business logic for the flow should be written here.

This is equivalent to the call method for a normal flow. This version is invoked when the flow is started via an incoming session init event, via a counterparty calling initiateFlow.

Parameters

session

The session opened by the counterparty.