mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-24 13:21:32 +00:00
feat: add run-console (#305)
This commit is contained in:
@ -563,6 +563,13 @@ export const builtInServices: Record<string, Record<string, GenericCallServiceHa
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
'run-console': {
|
||||
print: (req) => {
|
||||
console.log(...req.args);
|
||||
return success({});
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
const checkForArgumentsCount = (req: { args: Array<unknown> }, count: number) => {
|
||||
|
Reference in New Issue
Block a user