Skip to content

Commit

Permalink
Explain more clearly comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 16, 2018
1 parent 4d4534c commit 4203516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async/wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def initialize(io, reactor = nil)
attr :reactor

# Bind this wrapper to a different reactor. Assign nil to convert to an unbound wrapper (can be used from any reactor/task but with slightly increased overhead.)
# Binding to a reactor is purely a performance consideration. Generally, I don't like APIs that exist only due to optimisations. This is no exception, so consider this semi-private.
# Binding to a reactor is purely a performance consideration. Generally, I don't like APIs that exist only due to optimisations. This is borderline, so consider this functionality semi-private.
def reactor= reactor
@monitor&.close

Expand Down

0 comments on commit 4203516

Please sign in to comment.