Comments (5)
Thanks a lot for your answer. Indeed the docs are there. I got confused because the link on the ergo.services website leads to https://pkg.go.dev/github.com/halturin/ergo
Now all is clear. Thanks again. ergo is AMAZING!
from ergo.
oh, sorry for that :) yeah, it should have been updated.
from ergo.
from ergo.
Thank you for the question. Yeah, there is a lack of documentation, and we are working on it.
The Cast
and Call
are gen.ServerProcess
methods and are available within an actor only (to be specific - within the actor's callbacks). To operate with an actor from outside, you should use gen.Process
methods: Send
method for async messaging (will be invoked HandleInfo callback) or Direct
to make sync calls to the actor (will be invoked HandleDirect).
gen.ServerProcess
is available as a first argument in the callbacks like Init, HandleCast, HandleCall etc. (seegen.ServerBehavior
interface)gen.Process
is an interface returned by Spawn method.
from ergo.
just checked out pkg.go.dev - it has the latest version. Here are links you might find useful
https://pkg.go.dev/github.com/ergo-services/[email protected]/gen#ServerProcess
https://pkg.go.dev/github.com/ergo-services/[email protected]/gen#Process
https://pkg.go.dev/github.com/ergo-services/[email protected]/gen#ServerBehavior
from ergo.
Related Issues (20)
- GitHub actions fail on all platforms due to integration E2E tests HOT 1
- Unittest `TestDecodeFragment` occasionally fails
- i found rpc:call from erlang to ergo is not working HOT 2
- Ergo receives DIST packet along with the HANDSHAKE final packet. HOT 1
- Second CallRPC method is stuck when it is called against remote erlang node HOT 3
- Does Ergo have a plan to support OTP25/OTP26? HOT 1
- how to use simple_one_for_one under supervisor tree HOT 4
- Panic invalid memory address after reconnect a node HOT 6
- bug for deleteProcess HOT 3
- bug for (*process).UnregisterName HOT 2
- I doubt benchmarks be fair !!! HOT 3
- How to change Logger HOT 2
- gen.TcpHandle Question HOT 10
- When I close it frequently, there will be an unrecoverable panic. HOT 3
- Increase test coverage to 80% HOT 2
- node link problem? How to find HOT 8
- node link problem? HOT 2
- Support for Erlang/OTP 26 HOT 1
- Node.Stop () and node.Wait () will immediately end the process HOT 2
- PoolBehavior does not add restarted process to pool.monitors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ergo.