1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-07 23:02:12 +02:00

remove publish async (#811)

This commit is contained in:
Tony Chen 2021-04-02 12:45:20 +08:00 committed by GitHub
parent a0fe496a91
commit 4f502ee285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,6 @@ type Handler func(context.Context, Event) error
// to queue.
type Publisher interface {
Publish(ctx context.Context, event Event) error
PublishAsync(ctx context.Context, event Event, callback func(err error)) error
Close() error
}