code_runner v0.1.1 CodeRunner

CodeRunner is the public interface module of this application.

Link to this section Summary

Functions

Executes given Elixir code in a sandbox environment concurrently and returns the result in string format

Link to this section Functions

Link to this function run(code)
run(code :: String.t) :: String.t

Executes given Elixir code in a sandbox environment concurrently and returns the result in string format.

Examples

iex> CodeRunner.run("3+5")
"8\n"