exupery-core-async 0.3.32 → 0.3.33
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.
|
@@ -8,6 +8,7 @@ export declare namespace p {
|
|
|
8
8
|
const conditional_async: <Error>(precondition: _et.Query_Promise<boolean, Error>, procedure: _et.Procedure_Promise<Error>) => _et.Procedure_Promise<Error>;
|
|
9
9
|
const conditional_sync: <Error>(precondition: boolean, procedure: _et.Procedure_Promise<Error>) => _et.Procedure_Promise<Error>;
|
|
10
10
|
const conditional_on_processor: <Procedure_Input, Error>(precondition: _et.Process_Result<Procedure_Input, Error>, procedure: Basic_Procedure_Primed_With_Resources<Procedure_Input, Error>) => _et.Procedure_Promise<Error>;
|
|
11
|
+
const conditional_on_refiner: <Procedure_Input, Error>(precondition: _et.Refinement_Result<Procedure_Input, Error>, procedure: Basic_Procedure_Primed_With_Resources<Procedure_Input, Error>) => _et.Procedure_Promise<Error>;
|
|
11
12
|
const dictionary_serie: <Error, Entry_Error>(dictionary: _et.Dictionary<_et.Procedure_Promise<Entry_Error>>, transform_error: _et.Transformer_Without_Parameters<_et.Key_Value_Pair<Entry_Error>, Error>) => _et.Procedure_Promise<Error>;
|
|
12
13
|
const dictionary_parallel: <Error, Entry_Error>(dictionary: _et.Dictionary<_et.Procedure_Promise<Entry_Error>>, aggregate_errors: _et.Transformer_Without_Parameters<_et.Dictionary<Entry_Error>, Error>) => _et.Procedure_Promise<Error>;
|
|
13
14
|
const dictionary_parallel_without_transforming_the_error: <Error, Entry_Error>(dictionary: _et.Dictionary<_et.Procedure_Promise<Entry_Error>>) => _et.Procedure_Promise<_et.Dictionary<Entry_Error>>;
|
|
@@ -134,6 +134,15 @@ var p;
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
};
|
|
137
|
+
p.conditional_on_refiner = (precondition, procedure) => {
|
|
138
|
+
return (0, create_procedure_promise_1.__create_procedure_promise)({
|
|
139
|
+
'execute': (on_success, on_error) => {
|
|
140
|
+
precondition.process(($) => {
|
|
141
|
+
procedure($).__start(on_success, on_error);
|
|
142
|
+
}, on_error);
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
};
|
|
137
146
|
p.dictionary_serie = (dictionary, transform_error) => {
|
|
138
147
|
return (0, create_procedure_promise_1.__create_procedure_promise)({
|
|
139
148
|
'execute': (on_success, on_error) => {
|