Skip to content

Service template changes associated with non spawned handlers#15

Open
andymck wants to merge 1 commit intotsloughter:masterfrom
novalabsxyz:andymck/ts-master/behaviour-templates-changes
Open

Service template changes associated with non spawned handlers#15
andymck wants to merge 1 commit intotsloughter:masterfrom
novalabsxyz:andymck/ts-master/behaviour-templates-changes

Conversation

@andymck
Copy link
Copy Markdown

@andymck andymck commented Mar 2, 2021

Linked grpcbox PR: tsloughter/grpcbox#52

Change Summary

  1. Support additional response payloads for streaming RPCs, new example:

    ok
    | {ok, grpcbox_stream:t()}
    | {ok, ResponseMsg, grpcbox_stream:t()}
    | {stop, grpcbox_stream:t()}
    | {stop, ResponseMsg, grpcbox_stream:t()}
    | grpcbox_stream:grpc_error_response().

  2. Adds init/1 and handle_info/2 callbacks to service behaviour template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant