Skip to content

Add async versions of blocking requests #14

@kiddailey

Description

@kiddailey

Title says it all. Currently, everything is written synchronously and blocks UI. To work around this in my app I usually wrap in an async thread and managed it myself, but it would be nice for async to be built in so that I can simply await as needed.

I would recommend making this an additive change though. In other words, do not remove the synchronous versions but rather add equivalent calls with "Async" appended to the method names. For example:

Fetcher().Fetch() // Sync
Fetcher().FetchAsync() // Async

This also probably relates to issue #6 or at least could be implemented together along with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions