Base OTP behaviors presented as schemas
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pictures
CheatSheet.html
README.md

README.md

OTP CheatSheet

Every OTP behavior has main parts in its API: client, server, possible inputs and possible outputs. But a one-dimensional structure of standard documentation (from top to bottom) can't present all these parts in one place which leads to loss of a context and longer learn-curve.

This cheat sheet is an attempt to present common parts of OTP behaviors in one place using opportunities of a two-dimensional structure.

Table of Contents

Supervisor

Init

Gen Server

Init

Sync operation

Async operation

Info message

Terminate

Contributing

  1. Fork it (https://github.com/Telichkin/otp_cheatsheet/fork)
  2. Open and edit CheatSheet.html in the draw.io
  3. Save edited CheatSheet.html in your repository
  4. Export edited images as SVG into your repository using settings below:

5. Create a new Pull Request