Emits progress if a sink is attached.
progress
void emit(PixaProgress progress) { onProgress?.call(progress); }