Skip to content

Commit

Permalink
docs: fix godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Dec 9, 2024
1 parent 8411010 commit 30b9e90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actors/go_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit 30b9e90

Please sign in to comment.