AsyncExtensions.cs declarations
Public API declaration excerpts from ../bitquirky-core/Runtime/Async/AsyncExtensions.cs.
Source snapshot 29003d8b1658.
On this page
Original file: ../bitquirky-core/Runtime/Async/AsyncExtensions.cs
Source file hash: sha256:c8a71d70693ebaaffb35b71cd5a3dbe3b44f5b240451793f4eb3ac8a3ba461d0
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: AsyncExtensions
Section titled “Type: AsyncExtensions”Original lines: 12-105
Declaration hash: sha256:1bcbd191e28cdf00f67567e60ba6ab2d2833b2ec6536d05a16dc22af877b7c6d
public static class AsyncExtensions{}Method: SwitchToMainThread()
Section titled “Method: SwitchToMainThread()”Original lines: 17-20
Declaration hash: sha256:a29b8840aed502ce9e4d26b9fe30948636646205a49f7bf35f8c0c91f0e312a8
public static async Awaitable SwitchToMainThread();Method: SwitchToBackground()
Section titled “Method: SwitchToBackground()”Original lines: 25-28
Declaration hash: sha256:d14234a2c029f29651215b8a835bd673aa972c9a611df25ff5c12642d6c7991d
public static async Awaitable SwitchToBackground();Method: GetAwaiter(AsyncOperation operation)
Section titled “Method: GetAwaiter(AsyncOperation operation)”Original lines: 33-37
Declaration hash: sha256:22269ced604fcc2eb8865eb035272dc0206c7def3e49bd91db93345e0e194fbc
public static Awaitable.Awaiter GetAwaiter(this AsyncOperation operation);Method: WhenAll(params Awaitable[] awaitables)
Section titled “Method: WhenAll(params Awaitable[] awaitables)”Original lines: 42-50
Declaration hash: sha256:8e19c85945b8a79ede5239c010bdb18c37bb24e158deefa58d54f40d3e682c15
public static async Awaitable WhenAll(params Awaitable[] awaitables);Method: FireAndForget(Awaitable awaitable, Action<Exception> onException)
Section titled “Method: FireAndForget(Awaitable awaitable, Action<Exception> onException)”Original lines: 55-58
Declaration hash: sha256:34ad1e3f2bdbf862620a665bb43d4b468e9ca78d29367acc85fdc80f4a55e711
public static void FireAndForget(this Awaitable awaitable, Action<Exception> onException = null);Method: FireAndForget(Task task, Action<Exception> onException)
Section titled “Method: FireAndForget(Task task, Action<Exception> onException)”Original lines: 63-66
Declaration hash: sha256:3847d54fa704594dc78cbd3ccc228f30adb7949a959e040204bbd3c502c17f6e
public static void FireAndForget(this Task task, Action<Exception> onException = null);