Skip to content
/ async Public

Type describing generic asynchronous value

License

Notifications You must be signed in to change notification settings

Anvell/async

Repository files navigation

Async

GitHub Workflow Status License

badge badge badge badge badge badge

Type describing generic asynchronous value.

Async value can be in either of the following states:

Uninitialized - the value has not been initialized yet

Loading - the value is being loaded

Success - stores successfully loaded value

Fail - failed to load the value with error

Installation

Library is published on jitpack.io. Add repository it to your build.gradle script:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

and:

dependencies {
    implementation 'com.github.anvell:async:1.2.0'
}

API Reference

In order to generate API Reference in .html format, run the following command:

$ ./gradlew dokkaHtmlMultiModule

Licensing

Project is available under MIT License.