IEx v1.8.1 IEx.Server View Source

The IEx.Server.

The server responsibilities include:

  • reading input from the group leader and writing to the group leader
  • sending messages to the evaluator
  • taking over the evaluator process when using IEx.pry or setting up breakpoints

Link to this section Summary

Functions

Starts a new IEx server session

Link to this section Functions

Link to this function

run(opts) View Source (since 1.8.0)
run(keyword()) :: :ok

Starts a new IEx server session.

The accepted options are:

  • :prefix - the IEx prefix
  • :env - the Macro.Env used for the evaluator
  • :binding - an initial set of variables for the evaluator