From a3070ba1d27ac6dfecccbd56a32c76f4e62ef2ed Mon Sep 17 00:00:00 2001 From: zenwork Date: Sat, 2 Nov 2019 22:18:46 +0100 Subject: [PATCH 1/9] added more reactive interface to subscibe api --- .idea/inspectionProfiles/Project_Default.xml | 1 + src/decorators.ts | 4 +- src/example/di/CounterView.ts | 2 +- src/example/progress/ProgressBar.ts | 4 +- src/example/progress/ProgressDialog.ts | 4 +- src/example/streaming/Ticker.ts | 96 +++++++----- src/example/streaming/index.ts | 6 +- src/index.ts | 2 +- src/publisher.ts | 37 ++++- src/subscribe.ts | 146 +++++++++++++++++++ src/subscriber.ts | 79 ---------- test/pptr.js | 12 -- 12 files changed, 252 insertions(+), 141 deletions(-) create mode 100644 src/subscribe.ts delete mode 100644 src/subscriber.ts delete mode 100644 test/pptr.js diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 2d93a34..b5202ce 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -37,6 +37,7 @@