Registry / utility / arceliar-phony

arceliar-phony

JSON →
library0.0.0-20220903101357-530938a4b13dgogounverified

A lightweight actor model library for Go, inspired by the Pony programming language, providing asynchronous causal message passing.

go get github.com/Arceliar/phony
INSTALL
IMPORT
SIG · ARCELIAR-PHONY
A
arceliar-phony
utilitygov0.0.0-20220903101357-530938a4b13d
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

phony
github.com/Arceliar/phony

Define an actor and send a message to set its value

package main import ( "fmt" "github.com/Arceliar/phony" ) type MyActor struct { phony.Inbox value int } func (a *MyActor) SetValue(v int) { a.value = v fmt.Println("Value set to", v) } func main() { actor := &MyActor{} phony.Send(actor, func() { actor.SetValue(42) }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220903101357-530938a4b13dlatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Meta
1
Resources
arceliar-phony — go get arceliar-phony · libregistry