File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/rx/subscribers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
public enum JavaFxSubscriber {
24
24
;//no instances
25
25
/**
26
- * Turns an Observable into a JavaFX Binding. Calling the dispose() method will handle the unsubscription.
26
+ * Turns an Observable into a JavaFX Binding. Calling the Binding's dispose() method will handle the unsubscription.
27
27
*/
28
28
public static <T > Binding <T > toBinding (Observable <T > obs ) {
29
29
BindingSubscriber <T > bindingSubscriber = new BindingSubscriber <>(e -> {});
30
30
obs .subscribe (bindingSubscriber );
31
31
return bindingSubscriber ;
32
32
}
33
33
/**
34
- * Turns an Observable into a JavaFX Binding. Calling the dispose() method will handle the unsubscription.
34
+ * Turns an Observable into a JavaFX Binding. Calling the Binding's dispose() method will handle the unsubscription.
35
35
*/
36
36
public static <T > Binding <T > toBinding (Observable <T > obs , Action1 <Throwable > onErrorAction ) {
37
37
BindingSubscriber <T > bindingSubscriber = new BindingSubscriber <>(onErrorAction );
You can’t perform that action at this time.
0 commit comments