From 08c064efc6580e7cc125381cf7f4d1286e32261f Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Mon, 23 Oct 2023 12:29:45 +0200 Subject: [PATCH] fixup! feat!: add proposal for new discovery API --- packages/core/src/wot-impl.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/core/src/wot-impl.ts b/packages/core/src/wot-impl.ts index 94e79bfb5..66d8704af 100644 --- a/packages/core/src/wot-impl.ts +++ b/packages/core/src/wot-impl.ts @@ -44,19 +44,17 @@ class ThingDiscoveryProcess { #filter: ThingFilter; - - constructor(filter?: ThingFilter) { this.#filter = filter ?? {}; - }; + } - stop(): void { + stop(): void { this.#done = true; } // TODO: Implement AsyncIterable // async iterable; - }; +} export default class WoTImpl { private srv: Servient;