Run an async function once and remember its results
A tiny utility that pipes stdin to stdout, but leaves out the trailing newline if there is one.