UNPKG

jitar

Version:

Distributed runtime for JavaScript and TypeScript to chop monolithic applications into micros.

12 lines (8 loc) 315 B
import sayHi from './sayHi'; import sayHello from './sayHello'; export default async function sayBoth(firstName: string, lastName: string): Promise<string> { const hiMessage = await sayHi(firstName); const helloMessage = await sayHello(firstName, lastName); return `${hiMessage}\n${helloMessage}`; }