tarlatan
Preparing search index...
program/command-start
requireAllowed
Function requireAllowed
requireAllowed
(
command
:
|
Status
|
SessionOpen
|
Implement
|
Review
|
Correct
|
Reject
|
StepEnded
|
SessionClose
|
AddRuling
|
Overrule
|
GrantRounds
,
state
:
|
NoSession
|
SessionEnded
|
OpenNoAttempt
|
AttemptIncomplete
|
Interrupted
|
AwaitingHandoff
|
Rejected
,
checks
:
CommandChecks
,
)
:
Effect
<
Allowed
,
never
,
never
>
|
Effect
<
never
,
CommandRefused
,
never
>
Fails with
CommandRefused
unless the rules allow
command
.
Parameters
command
:
|
Status
|
SessionOpen
|
Implement
|
Review
|
Correct
|
Reject
|
StepEnded
|
SessionClose
|
AddRuling
|
Overrule
|
GrantRounds
state
:
|
NoSession
|
SessionEnded
|
OpenNoAttempt
|
AttemptIncomplete
|
Interrupted
|
AwaitingHandoff
|
Rejected
checks
:
CommandChecks
Returns
Effect
<
Allowed
,
never
,
never
>
|
Effect
<
never
,
CommandRefused
,
never
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
tarlatan
Loading...
Fails with CommandRefused unless the rules allow
command.