[27/50] [abbrv] tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-09-20 Thread jorgebg
Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/755da22f
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/755da22f
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/755da22f

Branch: refs/heads/TINKERPOP-1730
Commit: 755da22ff08762bb28c04fb3d84b19dbf492c2cd
Parents: e8230c6
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: florianhockmann 
Committed: Thu Sep 14 17:03:15 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); y

[5/7] tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-09-14 Thread florianhockmann
Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/755da22f
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/755da22f
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/755da22f

Branch: refs/heads/master
Commit: 755da22ff08762bb28c04fb3d84b19dbf492c2cd
Parents: e8230c6
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: florianhockmann 
Committed: Thu Sep 14 17:03:15 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/755da22f/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may n

[16/50] [abbrv] tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-08-17 Thread jorgebg
Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/TINKERPOP-1489
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); y

[01/29] tinkerpop git commit: Unwrap AggregateException for sync io operations [Forced Update!]

2017-08-11 Thread dkuppitz
Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1742-master 241f61674 -> 36bd2a244 (forced update)


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/TINKERPOP-1742-master
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regardi

[01/16] tinkerpop git commit: Unwrap AggregateException for sync io operations [Forced Update!]

2017-08-11 Thread dkuppitz
Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1742 ba6e8e0c0 -> 628d70826 (forced update)


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/TINKERPOP-1742
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright o

[1/5] tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-08-10 Thread spmallette
Repository: tinkerpop
Updated Branches:
  refs/heads/master 9fd97b455 -> 75502eef2


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/master
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this

[1/3] tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-08-10 Thread jorgebg
Repository: tinkerpop
Updated Branches:
  refs/heads/tp32 55ebe13ed -> 6a3fc39a9


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/tp32
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this fil

tinkerpop git commit: Unwrap AggregateException for sync io operations [Forced Update!]

2017-08-09 Thread jorgebg
Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1744 ea96bf4ae -> a655e2649 (forced update)


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a655e264
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a655e264
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a655e264

Branch: refs/heads/TINKERPOP-1744
Commit: a655e2649ab9a6ba1885dde317d81e845a7507b8
Parents: 51caf77
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:56:22 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a655e264/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright o

tinkerpop git commit: Unwrap AggregateException for sync io operations

2017-08-09 Thread jorgebg
Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1744 [created] ea96bf4ae


Unwrap AggregateException for sync io operations


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/ea96bf4a
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/ea96bf4a
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/ea96bf4a

Branch: refs/heads/TINKERPOP-1744
Commit: ea96bf4aeb450ea87b7dda15995928d2d4acfbab
Parents: 1e3c359
Author: Jorge Bay Gondra 
Authored: Wed Aug 9 11:46:28 2017 +0200
Committer: Jorge Bay Gondra 
Committed: Wed Aug 9 11:46:28 2017 +0200

--
 .../src/Gremlin.Net/Driver/ConnectionPool.cs|  3 +-
 .../Remote/DriverRemoteTraversalSideEffects.cs  |  3 +-
 .../Process/Remote/RemoteStrategy.cs|  3 +-
 .../src/Gremlin.Net/Structure/Utils.cs  | 55 
 .../Process/Remote/RemoteStrategyTests.cs   | 12 +
 5 files changed, 73 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ea96bf4a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs 
b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
index e9ce9a8..98cb547 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs
@@ -26,6 +26,7 @@ using System.Collections.Concurrent;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver
 {
@@ -92,7 +93,7 @@ namespace Gremlin.Net.Driver
 {
 if (_connections != null && !_connections.IsEmpty)
 {
-TeardownAsync().Wait();
+TeardownAsync().WaitUnwrap();
 
 foreach (var conn in _connections)
 conn.Dispose();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ea96bf4a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
--
diff --git 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
index 8ce495d..e8df942 100644
--- 
a/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
+++ 
b/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs
@@ -26,6 +26,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Gremlin.Net.Driver.Messages;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Driver.Remote
 {
@@ -112,7 +113,7 @@ namespace Gremlin.Net.Driver.Remote
 
 private void CloseSideEffects()
 {
-
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).Wait();
+
_gremlinClient.SubmitAsync(SideEffectCloseMessage()).WaitUnwrap();
 }
 
 private RequestMessage SideEffectCloseMessage()

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ea96bf4a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs 
b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
index b3f8c44..b914063 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Remote/RemoteStrategy.cs
@@ -23,6 +23,7 @@
 
 using System.Threading.Tasks;
 using Gremlin.Net.Process.Traversal;
+using Gremlin.Net.Structure;
 
 namespace Gremlin.Net.Process.Remote
 {
@@ -46,7 +47,7 @@ namespace Gremlin.Net.Process.Remote
 /// 
 public void Apply(ITraversal traversal)
 {
-ApplyAsync(traversal).Wait();
+ApplyAsync(traversal).WaitUnwrap();
 }
 
 /// 

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ea96bf4a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
--
diff --git a/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs 
b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
new file mode 100644
index 000..08168ba
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/Utils.cs
@@ -0,0 +1,55 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF