Skip to content

Commit

Permalink
chore: deprecate old discover method implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Dec 20, 2023
1 parent 408f6a2 commit b997fd3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/src/scripting_api/wot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ abstract interface class WoT {
/// using the `await for` syntax.
/// It also allows for stopping the Discovery process prematurely and
/// for retrieving information about its current state (i.e., whether it is
/// still `active`).
/// still [ThingDiscovery.active]).
@Deprecated(
'The discover method is curently in the process of being adjusted to the '
'latest Scripting API version and is therefore subject to change. '
'For direct and directory discovery, please refer to the '
'requestThingDescription and exploreDirectory methods instead.',
)
ThingDiscovery discover(
Uri url, {
ThingFilter? thingFilter,
Expand Down

0 comments on commit b997fd3

Please sign in to comment.