C3 Tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Defer

  • Defer will be invoked on scope exit.
  • defer catch is a version of defer that only runs when the macro or function returns a fault.
  • defer try is similar, but only runs on a result return.