# createRevertOrchestrator · FT4 TypeScript client · Chromia Docs (concept)

> createRevertOrchestrator(
    connection: Connection ,
    pendingTransfer: TransferRef ,
): Promise< RevertOrchestrator > Creates an orchestrator instance

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.createRevertOrchestrator/

Function

# createRevertOrchestrator

* ```signature
  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](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    a connection to the source chain
  + pendingTransfer: [TransferRef](https://docs.chromia.com/pages/ft4-ts-client/types/crosschain.TransferRef/)

    the pending transfer to revert

  #### Returns Promise<[RevertOrchestrator](https://docs.chromia.com/pages/ft4-ts-client/types/crosschain.RevertOrchestrator/)>

  The orchestrator instance which will be able to revert the transfer

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.createRevertOrchestrator.html)Generated API reference, mirrored from the live docs
