Sha256: 7ad6669ad801be9a001bc8fd3b5452ae26503b42f01e85cdfd928bf200cca39b
Contents?: true
Size: 462 Bytes
Versions: 14
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true require 'grpc_kit/interceptors' module GrpcKit module Interceptors::Server class BidiStreamer < Streaming # @param interceptor [GrpcKit::Grpc::ServerInterceptor] # @param call [GrpcKit::Calls::Client::BidiStreamer] def invoke(interceptor, call) interceptor.bidi_streamer(call: call, method: call.method) do |new_call = nil| yield(new_call || call) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems