+
Skip to content

Tags: alecthomas/types

Tags

v0.20.0

Toggle v0.20.0's commit message
feat: add result.Map() helper

v0.19.0

Toggle v0.19.0's commit message
chore: update linter config to resolve all warnings

v0.18.0

Toggle v0.18.0's commit message
fix: report subscriber location when ack panics

eg.
```
~/…/types/foo $ go run .                                                                                                                                                                                     master
panic: ack timeout for /Users/aat/dev/types/foo/main.go:12: main.main

goroutine 3 [running]:
github.com/alecthomas/types/pubsub.(*Topic[...]).run(0x10010b8a0)
	/Users/aat/dev/types/pubsub/pubsub.go:206 +0x42c
created by github.com/alecthomas/types/pubsub.New[...] in goroutine 1
	/Users/aat/dev/types/pubsub/pubsub.go:71 +0x10c
exit status 2
```

v0.17.0

Toggle v0.17.0's commit message
fix: give the pubsub channel 16384 elements of capacity

v0.16.0

Toggle v0.16.0's commit message
feat: add Either

v0.15.0

Toggle v0.15.0's commit message
feat: add must and once packages

v0.14.0

Toggle v0.14.0's commit message
feat: add From() functions to Result and Option

v0.13.0

Toggle v0.13.0's commit message
feat(pubsub): support nacking

Nacking a message will return an error to any synchronous publishers.

v0.12.1

Toggle v0.12.1's commit message
fix: ensure async subscriptions are closed

This bug slipped in in the previous change to support synchronous
publishers/subscribers because there was no test for it. Test added.

v0.12.0

Toggle v0.12.0's commit message
feat: add support for synchronous pubsub

This allows publish actions to block until all subscribers have
acknowledged receipt of the message.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载