Skip to content
VitalRouter
Esc
navigateopen⌘Jpreview

UniTask Integration

If your project uses UniTask, the VITALROUTER_UNITASK_INTEGRATION compiler switch will be automatically enabled.

The following features will be enabled.

  • Additional optimizations
    • By default, SemaphoreSlim is used for locking async methods, but in UniTask mode, IUniTaskSource-based implementations are selected.
  • UniTask can be used as the return value of the [Route] method.

Was this page helpful?