T - type of object producedpublic interface Producer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(CancelException event)
Cancel any pending production and stop it.
|
AsyncSupplier<T,? extends Exception> |
produce(Production<T> production)
Ask to produce a new object.
|
AsyncSupplier<T,? extends Exception> produce(Production<T> production)
void cancel(CancelException event)
Copyright © 2019. All rights reserved.