This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { startTransition } from 'react';
import { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types';
import { dispatchAppRouterAction } from './components/use-action-queue';
export async function callServer(actionId, actionArgs) {
return new Promise((resolve, reject)=>{
startTransition(()=>{
dispatchAppRouterAction({
type: ACTION_SERVER_ACTION,
actionId,
actionArgs,
resolve,
reject
});
});
});
}
//# sourceMappingURL=app-call-server.js.map