mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 06:43:23 +00:00
Update vendor
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
2
gateway/vendor/github.com/nats-io/nats.go/context.go
generated
vendored
2
gateway/vendor/github.com/nats-io/nats.go/context.go
generated
vendored
@ -217,6 +217,8 @@ func (nc *Conn) FlushWithContext(ctx context.Context) error {
|
||||
// RequestWithContext will create an Inbox and perform a Request
|
||||
// using the provided cancellation context with the Inbox reply
|
||||
// for the data v. A response will be decoded into the vPtr last parameter.
|
||||
//
|
||||
// Deprecated: Encoded connections are no longer supported.
|
||||
func (c *EncodedConn) RequestWithContext(ctx context.Context, subject string, v any, vPtr any) error {
|
||||
if ctx == nil {
|
||||
return ErrInvalidContext
|
||||
|
Reference in New Issue
Block a user