Framework
validateMode()
Function: validateMode()
function validateMode(mode, adapter): ResolvedTransactionModeValidate that a transaction mode is supported by the adapter.
Parameters
| Parameter | Type |
|---|---|
mode | TransactionMode |
adapter | FlashcoreAdapter<string, unknown> |
Returns
Throws
FeatureNotSupportedError if the mode is not supported
