Coder Social home page Coder Social logo

Comments (5)

finalclass avatar finalclass commented on May 14, 2024 1

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

image

Now all is clear. Thanks again. ergo is AMAZING!

from ergo.

halturin avatar halturin commented on May 14, 2024 1

oh, sorry for that :) yeah, it should have been updated.

from ergo.

Iamwaterlemon avatar Iamwaterlemon commented on May 14, 2024

from ergo.

halturin avatar halturin commented on May 14, 2024

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. (see gen.ServerBehavior interface)
  • gen.Process is an interface returned by Spawn method.

from ergo.

halturin avatar halturin commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.