@johngw/stream
Version:
Reactive programming tools using the WHATWG Streams API.
12 lines (10 loc) • 305 B
text/typescript
import { Forkable } from '@johngw/stream/sinks/Forkable'
import { Controllable } from '@johngw/stream/sources/Controllable'
/**
* A common interface for subjects.
*
* @group Subjects
*/
export interface Subjectable<Input, Output = Input> extends Forkable<Output> {
control(): Controllable<Input>
}