can(permission: string) API to an asynchronous one that queries an API. Obviously, we'd like to minimize the number of round trips to the Authz service.async can(permission: string) function that can be consumed from multiple places throughout our application.takeAll on a periodic schedule to make a request to the backend with the queued checks. But I don't know exactly how I'd go about delivering the responses back to the original can promises.