exupery-core-async 0.3.16 → 0.3.17

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.
@@ -1,3 +1,2 @@
1
1
  import * as _et from 'exupery-core-types';
2
- export declare const create_procedure_primed_with_resources_a: <Parameters, Error, Resources>(handler: ($: Parameters) => _et.Procedure_Promise<Error>) => _et.Procedure_Primed_With_Resources<Parameters, Error>;
3
- export declare const create_procedure_primed_with_resources_b: <Parameters, Error, Resources>(handler: ($: Parameters) => _et.Procedure_Promise<Error>) => _et.Procedure_Primed_With_Resources<Parameters, Error>;
2
+ export declare const create_procedure_primed_with_resources: <Parameters, Error, Resources>(handler: ($: Parameters) => _et.Procedure_Promise<Error>) => _et.Procedure_Primed_With_Resources<Parameters, Error>;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.create_procedure_primed_with_resources_b = exports.create_procedure_primed_with_resources_a = void 0;
3
+ exports.create_procedure_primed_with_resources = void 0;
4
4
  const create_procedure_promise_1 = require("./create_procedure_promise");
5
- const create_procedure_primed_with_resources_a = (handler) => {
5
+ const create_procedure_primed_with_resources = (handler) => {
6
6
  return {
7
7
  'execute with synchronous data': handler,
8
8
  'execute with asynchronous data': (query) => {
@@ -16,19 +16,4 @@ const create_procedure_primed_with_resources_a = (handler) => {
16
16
  }
17
17
  };
18
18
  };
19
- exports.create_procedure_primed_with_resources_a = create_procedure_primed_with_resources_a;
20
- const create_procedure_primed_with_resources_b = (handler) => {
21
- return {
22
- 'execute with synchronous data': handler,
23
- 'execute with asynchronous data': (query) => {
24
- return (0, create_procedure_promise_1.__create_procedure_promise)({
25
- 'execute': (on_success, on_exception) => {
26
- query.__start(($) => {
27
- handler($).__start(on_success, on_exception);
28
- }, on_exception);
29
- }
30
- });
31
- }
32
- };
33
- };
34
- exports.create_procedure_primed_with_resources_b = create_procedure_primed_with_resources_b;
19
+ exports.create_procedure_primed_with_resources = create_procedure_primed_with_resources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-async",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "async types for Exupery",