You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: `greeter_grpc` module is generated by purerpc's `protoc-gen-purerpc` plugin
48
+
NOTE: `greeter_grpc` module is generated by purerpc's `protoc-gen-purerpc` plugin.
49
+
50
+
Below is the examples for Python 3.6 and above which introduced asynchronous generators as a language concept.
51
+
For Python 3.5, where native asynchronous generators are not supported, you can use [async_generator](https://github.com/python-trio/async_generator) library for this purpose.
52
+
Just mark yielding coroutines with `@async_generator` decorator and use `await yield_(value)` and `await yield_from_(async_iterable)` instead of `yield`.
0 commit comments