Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Sep 30, 2024
1 parent dfc5b33 commit 123fb31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/OSCKit/OSCKit.docc/OSC-Address-Pattern-Parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func performMethodB(_ str: String, _ int: Int?) { }
- When registering a local method, it can also store a closure. This closure can be executed automatically when matching against a received OSC message's address pattern.
- When an OSC message is received:
- Pass its address pattern to the ``OSCAddressSpace/dispatch(_:)``.
- This method will pattern-match it against all registered local addresses and execute their closures, optionally on a specified queue.
- This method will pattern-match it against all registered local addresses and execute their closures.
- It also returns an array of local method IDs that match exactly like ``OSCAddressSpace/methods(matching:)`` (which may be discarded if handling of unregistered/unrecognized methods is not needed).
- If the returned method ID array is empty, that indicates that no methods matched the address pattern. In this case you may want to handle the unhandled message in a special way.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func performMethodB(_ str: String, _ int: Int?) { }
- When registering a local method, it can also store a closure. This closure can be executed automatically when matching against a received OSC message's address pattern.
- When an OSC message is received:
- Pass its address pattern to the ``OSCAddressSpace/dispatch(_:)``.
- This method will pattern-match it against all registered local addresses and execute their closures, optionally on a specified queue.
- This method will pattern-match it against all registered local addresses and execute their closures.
- It also returns an array of local method IDs that match exactly like ``OSCAddressSpace/methods(matching:)`` (which may be discarded if handling of unregistered/unrecognized methods is not needed).
- If the returned method ID array is empty, that indicates that no methods matched the address pattern. In this case you may want to handle the unhandled message in a special way.

Expand Down

0 comments on commit 123fb31

Please sign in to comment.