export interface SyncSender { /** Sends the given value to this channel. If channel has ended no action. */ send(value: T): Promise; /** Sends the given error to this channel causing the receiver to throw on next(). If channel has ended no action. */ error(error: Error): Promise; /** Ends this channel. */ end(): Promise; }