- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 24 Nov 2022 20:46:52 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 25 November 2022 04:47:04 UTC
Expected use would be something like: 1. Let |promise:Promise| be a [=newly created promise=] in |this|'s [=relevant realm=]. 1. Return |promise| and in |parallel|: 1. [=Request permission=] to use "my-api" with |promise|. 1. [=React=] to [=promise=]: * If it's the case that |promise| is fulfilled with value {{PermissionState/"granted"}}, then: 1. ... do granted stuff... * If it's the case that |promise| is fulfilled with value {{PermissionState/"denied"}}, then: 1. ... do denied stuff... -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/pull/401#issuecomment-1327017591 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/pull/401/c1327017591@github.com>
Received on Friday, 25 November 2022 04:47:04 UTC