User:Enobat28/sandbox

In type theory, session types are used to ensure correctness in concurrent programs. They guarantee that messages sent and received between concurrent programs are in the expected order and type. Session type systems have been adapted for both channel and  actor based systems. Session types are used to ensure properties desirable in concurrent and distributed systems: absence of communication errors and deadlocks, and protocol conformance.

Interaction between two processes can be checked using binary session types, while interactions between more than two processes can be checked using multiparty session types.