Interface Publisher.Cached<V>
-
- Type Parameters:
V
- value type
- All Superinterfaces:
Publisher<V>
public static interface Publisher.Cached<V> extends Publisher<V>
A publisher that caches the last value received.- Since:
- 4.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.configurate.reactive.Publisher
Publisher.Cached<V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
get()
Get the last cached value.void
submit(V value)
Directly submit a value to be the current cached value.
-