Telichkin / otp_cheatsheet

Base OTP behaviors presented as schemas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Base OTP behaviors presented as schemas


Languages

Language:HTML 100.0%