View Source Google.Pubsub.Subscriber behaviour (google_grpc_pubsub v0.3.2)
Link to this section Summary
Link to this section Types
@type t() :: %Google.Pubsub.Subscriber{ request_opts: Keyword.t(), subscription: Google.Pubsub.Subscription.t() }
Link to this section Callbacks
@callback handle_messages([Google.Pubsub.Message.t()], Google.Pubsub.Subscription.t()) :: [ Google.Pubsub.Message.t() ]
Link to this section Functions
@spec close_stream(GRPC.Client.Stream.t(), Google.Pubsub.Subscription.t()) :: GRPC.Client.Stream.t()
@spec create_stream(Google.Pubsub.Subscription.t(), Keyword.t()) :: GRPC.Client.Stream.t()
@spec receive_messages( GRPC.Client.Stream.t(), Google.Pubsub.Subscription.t(), function() ) :: GRPC.Client.Stream.t()