From 30b9e9028366be1421cd928ece670436d6a38903 Mon Sep 17 00:00:00 2001 From: Tochemey Date: Mon, 9 Dec 2024 17:41:53 +0000 Subject: [PATCH] docs: fix godoc --- actors/go_scheduler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actors/go_scheduler.go b/actors/go_scheduler.go index e30d472f..3b0c6541 100644 --- a/actors/go_scheduler.go +++ b/actors/go_scheduler.go @@ -25,7 +25,7 @@ package actors // goScheduler is a custom go routines scheduler -// this will help schedule actors message busy +// this will help schedule actors message processing type goScheduler struct { throughput int } @@ -36,6 +36,7 @@ func (s *goScheduler) Schedule(fn func()) { } // Throughput returns the scheduler throughput +// The throughput helps yield back control to other go routines func (s *goScheduler) Throughput() int { return s.throughput }