From e2e83fa27b748b47557d141271ddefecd6e24179 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Thu, 20 Jan 2022 18:29:01 +0200 Subject: [PATCH] Fix a naming mistake --- faststreams/outputs.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faststreams/outputs.nim b/faststreams/outputs.nim index 905ba1d..47bd990 100644 --- a/faststreams/outputs.nim +++ b/faststreams/outputs.nim @@ -854,7 +854,7 @@ when fsAsyncSupport: let s = OutputStream sp flushImpl(s, fsAwait, writeAsync, flushAsync) - proc flushAsync*(s: AsyncOutputStream) {.async.} = + proc flushSync*(s: AsyncOutputStream) {.async.} = flush s template close*(sp: AsyncOutputStream) = @@ -864,6 +864,6 @@ when fsAsyncSupport: if s.closeFut != nil: fsAwait s.closeFut - proc closeAsync*(s: AsyncOutputStream) {.async.} = + proc closeSync*(s: AsyncOutputStream) {.async.} = close s