Parameters
- from: ActorRef
- message:
| { FingerprintStoreMessages: "SubscribeToCollection" } & { value: {} }
| { FingerprintStoreMessages: "StoreFingerprint" } & {
value: Partial<
{
blocked: boolean;
created: Timestamp;
initialQuiz?: string & BRAND<"UID">;
lastSeen: Timestamp;
uid: string & BRAND<"UID">;
updated: Timestamp;
usageCount: number;
userUid: string & BRAND<"UID">;
},
> & { uid: string & BRAND<"UID"> };
}
| { FingerprintStoreMessages: "Get" } & { value: string & BRAND<"UID"> }
| { FingerprintStoreMessages: "Block" } & { value: string & BRAND<"UID"> }
| { FingerprintStoreMessages: "Unblock" } & {
value: string & BRAND<"UID">;
}
| { FingerprintStoreMessages: "IncreaseCount" } & {
value: {
fingerprint: string & BRAND<"UID">;
initialQuiz: string & BRAND<"UID"> | undefined;
userUid: string & BRAND<"UID">;
};
}
| { FingerprintStoreMessages: "GetMostRecent" } & { value: {} }
Returns Promise<FingerprintStoreResult>
promised return value. If the caller used ask, this value will be returned to the calling actor
Runs after the actor was started and is ready to receive messages.