From 379d0120a9b95191b4b69a5195cdfd4c8e3d1be0 Mon Sep 17 00:00:00 2001 From: syumai Date: Fri, 8 Nov 2024 02:37:16 +0900 Subject: [PATCH] fix Done func name in handler.go --- handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler.go b/handler.go index 2e195eb..0ce5f66 100644 --- a/handler.go +++ b/handler.go @@ -34,6 +34,6 @@ func Ready() { panic("Ready is not supported in non-JS environments") } -func WaitForCompletion() { - panic("WaitForCompletion is not supported in non-JS environments") +func Done() <-chan struct{} { + panic("Done is not supported in non-JS environments") }