We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee39fef commit 5a5b5a5Copy full SHA for 5a5b5a5
lib/async/promise.rb
@@ -183,8 +183,5 @@ def fulfill(&block)
183
self.resolve(nil) unless @resolved
184
end
185
186
-
187
- # Alias for resolve to match common promise APIs.
188
- alias signal resolve
189
190
test/async/promise.rb
@@ -189,15 +189,6 @@
191
192
- with "signal alias" do
193
- it "signal behaves like resolve" do
194
- promise.signal(:aliased_value)
195
196
- expect(promise.resolved?).to be == true
197
- expect(promise.wait).to be == :aliased_value
198
- end
199
200
201
with "warning suppression" do
202
it "can suppress warnings for expected failures" do
203
promise.suppress_warnings!
0 commit comments