exupery-core-async 0.1.14 → 0.1.15
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.
|
@@ -19,6 +19,6 @@ export interface Unsafe_Query_Result<T, E> {
|
|
|
19
19
|
* @param map_exception the handler that will map the exception of the query into a new exception value of the command's exception type
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
process<NE>(
|
|
22
|
+
process<NE>(handle_exception: ($: E) => Safe_Command_Result, map_exception: ($: E) => NE, handle_value: ($: T) => Unsafe_Command_Result<NE>): Unsafe_Command_Result<NE>;
|
|
23
23
|
__start(on_value: ($: T) => void, on_exception: ($: E) => void): void;
|
|
24
24
|
}
|
package/dist/run_unsafe_query.js
CHANGED
|
@@ -43,7 +43,7 @@ class Unsafe_Query_Result_Class {
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
process(
|
|
46
|
+
process(handle_exception, map_exception, handle_value) {
|
|
47
47
|
return (0, execute_unsafe_command_1.__execute_unsafe_command)({
|
|
48
48
|
'execute': (on_success, on_exception) => {
|
|
49
49
|
this.executer.execute((value) => {
|