mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
16 lines
321 B
JavaScript
16 lines
321 B
JavaScript
/*
|
|
* Copyright (c) 2025 by Christian Kellner.
|
|
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
|
|
*/
|
|
|
|
let tmpStore = {};
|
|
|
|
export const send = (serviceName, payload) => {
|
|
tmpStore = { serviceName, payload };
|
|
return [Promise.resolve()];
|
|
};
|
|
|
|
export const get = () => {
|
|
return tmpStore;
|
|
};
|