effect-tea-persistent
effect-tea
GitHub
Preparing search index...
@fgaudo/effect-tea-persistent/testing
ProjectionViolation
Type Alias ProjectionViolation<T>
ProjectionViolation
:
Readonly
<
{
_tag
:
"Rejected"
|
"Missing"
}
&
Candidate
<
T
>
>
How a projection breaks its agreement with
update
in a state:
Rejected
: it allows a message that
update
rejects, so a caller who acts on what it reads is refused;
Missing
:
update
accepts a message that it does not allow, so no caller learns that it may.
Type Parameters
T
extends
Types
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
effect-tea
GitHub
effect-tea-persistent
Loading...
How a projection breaks its agreement with
updatein a state:Rejected: it allows a message thatupdaterejects, so a caller who acts on what it reads is refused;Missing:updateaccepts a message that it does not allow, so no caller learns that it may.