Skip to content

Commit ae3395b

Browse files
committed
Add @public annotation to Task#defer_stop.
1 parent 42d7c00 commit ae3395b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/async/task.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def stop(later = false)
255255
# If stop is invoked a second time, it will be immediately executed.
256256
#
257257
# @yields {} The block of code to execute.
258+
# @public Since `stable-v1`.
258259
def defer_stop
259260
# Tri-state variable for controlling stop:
260261
# - nil: defer_stop has not been called.

0 commit comments

Comments
 (0)