• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    HTML
  • Created almost 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Base OTP behaviors presented as schemas

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