Do you have any example or hint about how to call the following methods:
I have been working with the library for a while, but I haven’t been able to figure out this part of the API or find any example.
Thanks so much
Here is how we are using it at Sourcegraph: loading-indicator.ts - sourcegraph/sourcegraph - Sourcegraph . It renders a little spinner at the end of the query input. You can actually try it out in the query input itself on that page, e.g. enter a new query, for example
repo:react and if the suggestions take a while to load the spinner will appear.
This is great @fkling! I finally understood how the api works. Thanks so much, you saved me tons of hours!!