Is there an alternative for `asyncAfter` for Actors?

I am starting to play with the new Swift Concurrency features and so far I love them a lot.
I tried to convert some logic that used dispatch queues to the new Actor types. There is one situation where I have no clear clue how to translate.

I use DispatchWorkItem and I dispatch work on a custom queue object using asyncAfter as well as cancel when I want to cancel. Additionally I use custom queue objects as schedulers for combine operations.
How can I achieve similar functionaliy within an Actor's context?

Terms of Service

Privacy Policy

Cookie Policy