aws-flow-core 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/aws-flow-core.gemspec +1 -1
- data/lib/aws/flow/future.rb +6 -0
- metadata +2 -2
data/aws-flow-core.gemspec
CHANGED
data/lib/aws/flow/future.rb
CHANGED
@@ -40,6 +40,12 @@ module AWS
|
|
40
40
|
self
|
41
41
|
end
|
42
42
|
|
43
|
+
# determines whether the object is a flow future. The contract is that
|
44
|
+
# flow futures must have a #get method.
|
45
|
+
def is_flow_future?
|
46
|
+
true
|
47
|
+
end
|
48
|
+
|
43
49
|
# Blocks if Future is not set
|
44
50
|
# raises CancellationError when task is cancelled
|
45
51
|
def get
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-flow-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Library to provide all the base asynchronous constructs that aws-flow
|
15
15
|
uses
|