android-components / mozilla.components.support.base.observer / ConsumableStream / remove

remove

@Synchronized fun remove(value: T): ConsumableStream<T> (source)

Copies the stream but removes all consumables equal to the provided value.

Parameters

value - the value to remove.

Return
a new consumable stream with the matching values removed.