API Reference

Modules

The app for Chaos spawn. Provides all the wrapped spawn functions

Wraps around GenEvent and provides a pid that get registered with ChaosSpawn’s process killer

Wraps around GenServer and provides servers that get registered with ChaosSpawn’s process killer

Using this module automatically replaces all spawn and spawn_* functions

The module provides an example of using the GenServer. The only change required from a normal gen server is in start_link

Example usage of an event

The module provides an example of using the spawn functions. Using the following will automatically replace all the spawn functions with the chaotic ones

Module responsible for waiting and randomly killing processes. Is dependent on being given a ChaosSpawn.ProcessWatcher to discover proceses it can kill

Provides spawn functions that call Kernel.* methods but also pass the new pid to the ChaosSpawn.ProcessWatcher

GenServer implementation to record pids passed in and return random pids when requested

Top level Supervisor for all ChaosSpawn workers