A sync/async stream2 transformer