Function
createRevertOrchestrator
createRevertOrchestrator( connection: Connection, pendingTransfer: TransferRef, ): Promise<RevertOrchestrator>Creates an orchestrator instance to handle reverting a transfer that was started but did not reach its target chain withing the specified timeout.
Parameters
- connection: Connection
a connection to the source chain
- pendingTransfer: TransferRef
the pending transfer to revert
Returns Promise<RevertOrchestrator>
The orchestrator instance which will be able to revert the transfer
- connection: Connection