Skip to content

Commit c3f15f5

Browse files
author
Rodrigo Gomez Palacio
committed
IamFetchRywTokenKey Enum
Motivation: to be used to index read your write tokens specific to the IamFetch consistency use case
1 parent 591bbe7 commit c3f15f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.onesignal.common.consistency.enums
2+
3+
import com.onesignal.common.consistency.models.IConsistencyKeyEnum
4+
5+
/**
6+
* Each enum is a key that we use to keep track of read-your-write tokens.
7+
* Although the enums are named with "UPDATE", they serve as keys for tokens from both PATCH & POST
8+
*/
9+
enum class IamFetchRywTokenKey : IConsistencyKeyEnum {
10+
USER,
11+
SUBSCRIPTION,
12+
}

0 commit comments

Comments
 (0)