Package | Description |
---|---|
dagger.producers |
This package contains the public API for Dagger 2's producer functionality.
|
Modifier and Type | Method and Description |
---|---|
static <T> Producer<T> |
Producers.immediateFailedProducer(java.lang.Throwable throwable)
Returns a producer that fails with the given exception.
|
static <T> Producer<T> |
Producers.immediateProducer(T value)
Returns a producer that succeeds with the given value.
|