exupery-core-async 0.3.20 → 0.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create_query = void 0;
|
|
4
|
+
const create_query_primed_with_resources_1 = require("./create_query_primed_with_resources");
|
|
5
|
+
const create_query = (handler) => {
|
|
6
|
+
return ($r) => (0, create_query_primed_with_resources_1.__create_query_primed_with_resources)(($p) => handler($r, $p));
|
|
7
|
+
};
|
|
8
|
+
exports.create_query = create_query;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.__create_query_primed_with_resources = void 0;
|
|
4
|
+
const create_query_promise_1 = require("./create_query_promise");
|
|
5
|
+
const __create_query_primed_with_resources = (handler) => {
|
|
6
|
+
return (parameters) => {
|
|
7
|
+
return (0, create_query_promise_1.__create_query_promise)({
|
|
8
|
+
'execute': (on_success, on_error) => {
|
|
9
|
+
handler(parameters).__start(on_success, on_error);
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
exports.__create_query_primed_with_resources = __create_query_primed_with_resources;
|