SignalListener
interface SignalListener<T>
Package: dev.joid.lib.signal · Module: core · Source: SignalListener.java
Receives the value of a signal after each change.
Description
Section titled “Description”Give one to Signal.onChange, as a lambda.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | apply(T value) abstract | Receives the value after a change, on the render thread. |
Method details
Section titled “Method details”void apply(T value) abstract
Receives the value after a change, on the render thread.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
