-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Probably slows things down with slower dispatch. Should definitely remove this, and consider making Chit a class with final methods.
durian-rx/src/main/java/com/diffplug/common/rx/ChitImpl.java
Lines 41 to 51 in 4691684
| static final class AlreadyDisposed implements Chit { | |
| @Override | |
| public boolean isDisposed() { | |
| return true; | |
| } | |
| @Override | |
| public void runWhenDisposed(Runnable whenDisposed) { | |
| whenDisposed.run(); | |
| } | |
| } |
Metadata
Metadata
Assignees
Labels
No labels