In ExposedThing we have
|
public handleUnsubscribeEvent( |
and
|
public handleUnobserveProperty( |
Both are not async while the counterpart of handleSubscribeEvent and handleObserveProperty are async.
Both call async functions (unsubscribe/unobserveHandler)
I think we ought to change them. Opinions?
In
ExposedThingwe havenode-wot/packages/core/src/exposed-thing.ts
Line 575 in 8dc6ed8
and
node-wot/packages/core/src/exposed-thing.ts
Line 642 in 8dc6ed8
Both are not
asyncwhile the counterpart ofhandleSubscribeEventandhandleObservePropertyareasync.Both call async functions (
unsubscribe/unobserveHandler)I think we ought to change them. Opinions?