I'm following along the documentation about the Tokens SDK: https://github.com/corda/token-sdk/blob/master/docs/IWantTo.md#issuing-tokens
My question is fairy simple: what's the difference between using
IssueTokens(fungibleToken)
and
subFlow(IssueTokensFlow(fungibleToken, listOf(holderSession)))?
What implications does one have on the other? When should I use one or the other? I've read the documentation about flowss/subflows, but it's not clear what the difference is: https://docs.r3.com/en/platform/corda/4.9/community/api-flows.html#subflows