| Package | Description |
|---|---|
| me.lucko.helper.event.functional.single |
| Modifier and Type | Method and Description |
|---|---|
default SingleSubscription<T> |
SingleSubscriptionBuilder.biHandler(BiConsumer<SingleSubscription<T>,? super T> handler)
Builds and registers the Handler.
|
default SingleSubscription<T> |
SingleSubscriptionBuilder.handler(Consumer<? super T> handler)
Builds and registers the Handler.
|
| Modifier and Type | Method and Description |
|---|---|
SingleHandlerList<T> |
SingleHandlerList.biConsumer(BiConsumer<SingleSubscription<T>,? super T> handler) |
default SingleSubscription<T> |
SingleSubscriptionBuilder.biHandler(BiConsumer<SingleSubscription<T>,? super T> handler)
Builds and registers the Handler.
|
SingleSubscriptionBuilder<T> |
SingleSubscriptionBuilder.expireIf(BiPredicate<SingleSubscription<T>,T> predicate,
ExpiryTestStage... testPoints)
Add a expiry predicate.
|
Copyright © 2022. All rights reserved.