Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Offer: AsyncTask replacement #590

Description

@mice777

I have created Kotlin replacement for Android's AsyncTask. It's well tested on few larger projects of mine, it works beautifully and would fit this library.

Example:

asyncTask({
  doSomething()
}){ result ->
  processResult(result)
}

It's cancelable, it has optional callbacks when it's done or canceled, it passes return value from async thread back to main thread.

If there is interest, I can create pull request with this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions