Skip to content
Snippets Groups Projects
Commit 64c5b43d authored by Jens Nolte's avatar Jens Nolte
Browse files

Fix documentation


Co-authored-by: default avatarJan Beinke <git@janbeinke.com>
parent b161d68d
No related branches found
No related tags found
No related merge requests found
Pipeline #2362 passed
......@@ -103,8 +103,8 @@ instance IsDisposable ResourceManager where
-- | A task that is running asynchronously. It has a result and can fail.
-- The result (or exception) can be aquired by using the `Awaitable` class (e.g. by calling `await` or `awaitIO`).
-- It might be possible to cancel the task by using the `Disposable` class if the operation has not been completed.
-- The result (or exception) can be aquired by using the `IsAwaitable` class (e.g. by calling `await` or `awaitIO`).
-- It might be possible to cancel the task by using the `IsDisposable` class if the operation has not been completed.
-- If the result is no longer required the task should be cancelled, to avoid leaking memory.
newtype Task r = Task (Awaitable r)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment