T
- the scalar value type held by the implementing reactive typepublic interface ScalarCallable<T> extends Callable<T>
Implementors of call()
should not throw any exception.
Design note: the interface extends Callable
because if a scalar
is safe to extract during assembly time, it is also safe to extract at
subscription time or later. This allows optimizations to deal with such
single-element sources uniformly.
Modifier and Type | Method and Description |
---|---|
T |
call() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.