Uses of Interface
com.vaadin.flow.signals.function.ValueSupplier
Packages that use ValueSupplier
Package
Description
-
Uses of ValueSupplier in com.vaadin.flow.signals
Methods in com.vaadin.flow.signals with parameters of type ValueSupplierModifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
TransactionOperation<T> Signal.runInTransaction(ValueSupplier<T> transactionTask) Runs the provided supplier in a transaction.static <T extends @Nullable Object>
TSignal.runWithoutTransaction(ValueSupplier<T> task) Runs the given supplier outside any transaction and returns the supplied value.static <T extends @Nullable Object>
TSignal.untracked(ValueSupplier<T> task) Runs the given supplier without tracking dependencies for signals that are read within the supplier. -
Uses of ValueSupplier in com.vaadin.flow.signals.impl
Methods in com.vaadin.flow.signals.impl with parameters of type ValueSupplierModifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
TransactionOperation<T> Transaction.runInTransaction(ValueSupplier<T> transactionTask) Runs the given supplier in a regular transaction and returns an operation object that wraps the supplier value.static <T extends @Nullable Object>
TransactionOperation<T> Transaction.runInTransaction(ValueSupplier<T> transactionTask, Transaction.Type transactionType) Runs the given supplier in a transaction of the given type and returns an operation object that wraps the supplier value.static <T extends @Nullable Object>
TTransaction.runWithoutTransaction(ValueSupplier<T> task) Runs the given supplier outside any transaction and returns the supplied value.static <T extends @Nullable Object>
TUsageTracker.untracked(ValueSupplier<T> task) Runs the given supplier without tracking usage even if a usage tracker is active.