Skip to content

Releases: vladopajic/go-actor

v0.8.1

29 Oct 18:08
7a4cb1c
Compare
Choose a tag to compare

Changes:

  • add new option OptOnStopCombined(func ()) that can be used as option for combined actor

v0.8.0

24 Oct 18:14
200a727
Compare
Choose a tag to compare

Changes:

  • Combine function now returns builder that builds combined actor
  • New options is added OptStopTogether that stops all combined actors when any actor stops

v0.7.1

06 Oct 08:37
Compare
Choose a tag to compare
  • License changed to permissive license (MIT).
  • Added TestSuite - basic tests for actors
  • Removed option OptUsingChan in favor of new option OptAsChan
  • MailboxSender interface changed to improve comparability for remote communication.
    Interface changed from:
 type MailboxSender[T any] interface {
     SendC() chan<- T
 }

to:

 type MailboxSender[T any] interface {
     Send(ctx Context, msg T) error
 }

v0.7.0

30 Mar 06:25
a4a539c
Compare
Choose a tag to compare
  • FanOut changed to accept receive channel
  • interfaces StartableWorker and StoppableWorker are now exported
  • OnStart and OnStop callbacks order execution changed: first these are executed from worker (if any), then from options (if any)
  • test improvements (more test, more coverage)
  • repo CI now executes go-test-coverage action

v0.6.0

17 Mar 08:34
99f8d1e
Compare
Choose a tag to compare
  • Composed Mailbox interface using MailboxSender and MailboxReceiver interfaces
  • FanOut utility refactored to use new MailboxSender and MailboxReceiver interfaces
  • Added NewMailboxes constructor for creating multiple mailboxes

v0.5.1

04 Jan 09:29
9eda2df
Compare
Choose a tag to compare
  • Worker can optionally implement OnStart(Context) and OnStop() methods which will have same effect as if those are provided via OptOnStart and OptOnStop respectively

v0.5.0

21 Dec 22:22
b3d1b00
Compare
Choose a tag to compare
  • OnStart now receives Context as first argument
  • Context is ended before OnStop callback is invoked

v0.4.1

13 Dec 16:51
b37f15c
Compare
Choose a tag to compare

Old releases with version v1.x.x were retracted. This library will follow v0.x.x versioning going forward until it reaches stable interface.

v0.4.0

13 Dec 15:23
1a70430
Compare
Choose a tag to compare
  • Actor will end Context on WorkerEnd signal
  • Add actor.Idle
  • Add Mailbox implementation with native channels
  • Drop StartAll and StopAll functions

v.0.3.1

13 Dec 15:26
1e394df
Compare
Choose a tag to compare
  • Mailbox use faster queue implementation