AsyncExtensions.cs declarations
Public API declaration excerpts from ../bitquirky-core/Runtime/Async/AsyncExtensions.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-core/Runtime/Async/AsyncExtensions.cs
Source file hash: sha256:ff77d3bd4d1bdfe52e0d01e8c75098f7ad5df42a12d6489c0c6a969cd402a2e8
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: AsyncExtensions
Section titled “Type: AsyncExtensions”Original lines: 10-103
Declaration hash: sha256:1bcbd191e28cdf00f67567e60ba6ab2d2833b2ec6536d05a16dc22af877b7c6d
public static class AsyncExtensions{}Method: SwitchToMainThread()
Section titled “Method: SwitchToMainThread()”Original lines: 15-18
Declaration hash: sha256:a29b8840aed502ce9e4d26b9fe30948636646205a49f7bf35f8c0c91f0e312a8
public static async Awaitable SwitchToMainThread();Method: SwitchToBackground()
Section titled “Method: SwitchToBackground()”Original lines: 23-26
Declaration hash: sha256:d14234a2c029f29651215b8a835bd673aa972c9a611df25ff5c12642d6c7991d
public static async Awaitable SwitchToBackground();Method: GetAwaiter(AsyncOperation operation)
Section titled “Method: GetAwaiter(AsyncOperation operation)”Original lines: 31-35
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: 40-48
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: 53-56
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: 61-64
Declaration hash: sha256:3847d54fa704594dc78cbd3ccc228f30adb7949a959e040204bbd3c502c17f6e
public static void FireAndForget(this Task task, Action<Exception> onException = null);