Closed Jmgr closed 3 years ago
This adds a new ConnectCtx function that allows connecting using a context, so that the connection can be cancelled using a deadline other than the default gRPC one. The connection is only blocking if a context with a deadline has been provided.
ConnectCtx
This PR fixes https://github.com/liftbridge-io/go-liftbridge/issues/98.
This adds a new
ConnectCtx
function that allows connecting using a context, so that the connection can be cancelled using a deadline other than the default gRPC one. The connection is only blocking if a context with a deadline has been provided.This PR fixes https://github.com/liftbridge-io/go-liftbridge/issues/98.