[bisq-network/bisq] Trade protocol domain improvements (#4566)

chimp1984 notifications at github.com
Mon Sep 28 23:08:44 UTC 2020


@chimp1984 commented on this pull request.



> +    }
+
+    // Can be used before or after executeTasks
+    public FluentProtocol run(Runnable runnable) {
+        Condition.Result result = condition.getResult();
+        if (result.isValid) {
+            runnable.run();
+        } else if (resultHandler != null) {
+            resultHandler.accept(result);
+        }
+        return this;
+    }
+
+    public FluentProtocol executeTasks() {
+        Condition.Result result = condition.getResult();
+        if (result.isValid) {

Ok. Will change.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4566#discussion_r496283883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200928/eebf85d0/attachment.html>


More information about the bisq-github mailing list