Skip to content

Commit

Permalink
fixup! feat!: add proposal for new discovery API
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Nov 21, 2023
1 parent 495b857 commit ccd7751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/wot-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export default class WoTImpl {
}

/** @inheritDoc */
async *exploreDirectory(url: string, filter?: WoT.ThingFilter): AsyncGenerator<ThingDiscoveryProcess> {
yield Promise.reject(new Error("Unimplemented"));
async exploreDirectory(url: string, filter?: WoT.ThingFilter): Promise<WoT.ThingDiscoveryProcess> {
return new ThingDiscoveryProcess(filter);

Check warning on line 73 in packages/core/src/wot-impl.ts

View check run for this annotation

Codecov / codecov/patch

packages/core/src/wot-impl.ts#L73

Added line #L73 was not covered by tests
}

/** @inheritDoc */
Expand Down

0 comments on commit ccd7751

Please sign in to comment.