repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
e582179
parent
6396f79
author
Eric Bower
date
2024-02-07 15:46:44 +0000 UTC
chore: dont prefix action types

BREAKING CHANGE: we removed `@@starfx:` from all action types
1 files changed,  +1, -1
M action.ts
+1, -1
1@@ -103,7 +103,7 @@ export function* takeLeading<T>(
2   }
3 }
4 
5-export const API_ACTION_PREFIX = "@@starfx:";
6+export const API_ACTION_PREFIX = "";
7 export const createAction = (type: string) => {
8   if (!type) throw new Error("createAction requires non-empty string");
9   const action = () => ({ type });