• Robert Knight's avatar
    Simplify and improve type safety of `watch` utility · 61b7e399
    Robert Knight authored
    Simplify the `watch` utility by making it only support a single callback to get
    the watched value, along with an optional comparison function to use to compare
    the results. To watch multiple values the callback can return an array and use a
    shallow-equality comparison.
    
    In `FrameSyncService` the lengthy callback passed to `watch` was
    extracted into a separate function to make the `watch` call more
    readable.
    61b7e399
Name
Last commit
Last update
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-context.js Loading commit data...
websocket.js Loading commit data...