@Property public void chained(IntConsumer first, IntConsumer second, int arg) { first.andThen(second).accept(arg); } }
public void addOnKeyframePulled(IntConsumer consumer) { this.onKeyframePulled = onKeyframePulled == null ? consumer : onKeyframePulled.andThen(consumer); }
public void addOnChunkFailed(IntConsumer consumer) { this.onChunkFailed = onChunkFailed == null ? consumer : onChunkFailed.andThen(consumer); }
public void addOnChunkPulled(IntConsumer consumer) { this.onChunkPulled = onChunkPulled == null ? consumer : onChunkPulled.andThen(consumer); }
public void addOnKeyframeFailed(IntConsumer consumer) { this.onKeyframeFailed = onKeyframeFailed == null ? consumer : onKeyframeFailed.andThen(consumer); }