Flow

Flow of the call

import { Flow } from "ki-fct-corelib"

Flow describes how the batch transaction has to be executed. There are 6 options:

  • OK_CONT_FAIL_REVERT - "continue on success, revert on fail"

  • OK_CONT_FAIL_STOP - "continue on success, stop on fail"

  • OK_CONT_FAIL_JUMP - "continue on success, jump on fail"

  • OK_REVERT_FAIL_CONT - "revert on success, continue on fail"

  • OK_REVERT_FAIL_STOP - "revert on success, stop on fail"

  • OK_STOP_FAIL_CONT - "stop on success, continue on fail"

  • OK_STOP_FAIL_REVERT - "stop on success, revert on fail"

  • OK_STOP_FAIL_STOP = "stop on success, stop on fail"

enum Flow {
  OK_CONT_FAIL_REVERT = "OK_CONT_FAIL_REVERT",
  OK_CONT_FAIL_STOP = "OK_CONT_FAIL_STOP",
  OK_CONT_FAIL_CONT = "OK_CONT_FAIL_CONT",
  OK_REVERT_FAIL_CONT = "OK_REVERT_FAIL_CONT",
  OK_REVERT_FAIL_STOP = "OK_REVERT_FAIL_STOP",
  OK_STOP_FAIL_CONT = "OK_STOP_FAIL_CONT",
  OK_STOP_FAIL_REVERT = "OK_STOP_FAIL_REVERT",
  OK_STOP_FAIL_STOP = "OK_STOP_FAIL_STOP",
}

Last updated