Skip to content

Commit

Permalink
Add @public annotation to Task#defer_stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 27, 2024
1 parent 42d7c00 commit ae3395b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/async/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def stop(later = false)
# If stop is invoked a second time, it will be immediately executed.
#
# @yields {} The block of code to execute.
# @public Since `stable-v1`.
def defer_stop
# Tri-state variable for controlling stop:
# - nil: defer_stop has not been called.
Expand Down

0 comments on commit ae3395b

Please sign in to comment.