Skip to content

Commit 278cdae

Browse files
committed
Remove bad aliases
1 parent 53128c3 commit 278cdae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/concurrent/promises.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def completable_event(default_executor = :io)
2525
CompletableEventPromise.new(default_executor).future
2626
end
2727

28-
# TODO (pitr-ch 26-Mar-2016): remove event?, it does not match completable_future
29-
alias_method :event, :completable_event
30-
3128
# Constructs new Future which will be completed after block is evaluated on executor. Evaluation begins immediately.
3229
# @return [Future]
3330
def future(*args, &task)
@@ -64,8 +61,6 @@ def completed_event(default_executor = :io)
6461
ImmediateEventPromise.new(default_executor).event
6562
end
6663

67-
alias_method :async, :future
68-
6964
# Constructs new Future which will evaluate to the block after
7065
# requested by calling `#wait`, `#value`, `#value!`, etc. on it or on any of the chained futures.
7166
# @return [Future]

0 commit comments

Comments
 (0)