caas

package module
v0.0.0-...-ca49f88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

README

Concurrency As A Service

The project aims to make handling of asynchronous processes in easy way. Implementation is heavily inspired by CSP and Go.

Packages overview

async

This package is responsible for asynchronous execution of the code. It's the same stuff as async/await, but implementation is stateless. The state of the code is stored in database and code execution is resumed when callback is triggered.

slt (select)

This package is responsible for synchronisation of the code execution. It's the same stuff as Golang select statement, but implementation is stateless. The state of all senders/receivers is stored in database, and when new sender/receiver is added - we try to find who can send/receive on other end of the channel. When message is sent/received - callback is called for both sender/receiver to resume their execution.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wait

func Wait(string, ...interface{}) chan ChanType

Types

type ChanType

type ChanType string

Directories

Path Synopsis
cmd
slt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL