W3cubDocs

/Elixir 1.11

IEx.Server

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/0 or setting up breakpoints

Summary

Functions

run(opts)

Starts a new IEx server session.

Functions

run(opts)

Specs

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
  • :on_eof - if it should :stop_evaluator (default) or :halt the system

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/iex/1.11.2/IEx.Server.html