Triggers a query to re-run. This function updates the data provisioned by the GraphQL wire adapter imperatively.
See the GraphQL query syntax.
A Promise object. The Promise isn’t resolved until the wire has received the latest data. The wire function might not be invoked again if the data that’s returned from the server hasn’t changed. Instead, wait for the Promise to resolve if you need to know when the refresh has completed. The actual value to which the Promise resolves is meaningless.
For more information, see Use GraphQL API with Lightning Web Components.