You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"This actor's job is to report permission statuses to the actors that have invoked it. We abstract away this functionality so that it is reusable by any actor that needs it and so they don't need to know how permissions are checked. This keeps control centralized and easy to modify the behavior of.",
65
+
description: `
66
+
This actor's job is to report permission statuses to the actors that have invoked it.
67
+
We abstract away this functionality so that it is reusable by any actor that needs it
68
+
and so they don't need to know how permissions are checked. This keeps control
// I'm thinking an api like sendToPermissionChecker(event: PermissionCheckerEvent)
89
-
type: 'triggerPermissionRequest',
90
-
permission: event.permission,
91
-
})
92
-
),
93
-
],
96
+
`,
94
97
},
95
98
permissionStatusChanged: {
96
-
description:
97
-
'Whenever the Permission Monitoring machine reports that a permission status has changed, we receive this event and can process and share with our siblings.',
99
+
description:`Whenever the Permission Monitoring machine reports that a permission
100
+
status has changed, we receive this event and can process and share with our siblings.`,
98
101
actions: [
99
-
log(
100
-
({ event })=>
101
-
event.permission+' status <<<changed'+' to '+event.status
102
-
),
103
-
104
102
{
105
103
/**
106
104
* I tried putting this action in the actions in setup as reportPermissionRequestResult
0 commit comments