"use strict" ; import { _ } from 'streamline-runtime' ; import { Reader } from '../reader' ; import { Writer } from '../writer' ; export const empty = { reader : new Reader ( function ( this , _ ) { } ) , writer : new Writer ( function ( this , _ , value ) { } ) , } ; export function reader < T > ( read , stop ? ) { return new Reader ( read , stop ) ; } export function writer < T > ( write , stop ? ) { return new Writer ( write , stop ) ; }