Fetcher

public interface Fetcher

Defines an interface for pulling data from the API source. A fetch operation can either fail or succeed.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Inheritors

Types

Link copied to clipboard
public interface FailureCallback
Callback invoked when the fetch operation fails.
Link copied to clipboard
public interface SuccessCallback<V>
Callback invoked when the fetch operation succeeds.

Functions

Link copied to clipboard
public abstract void fetch()
Performs a fetch operation.