Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code to opDispatch to make a full example that can be copy, pas… #360

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MikeShah
Copy link

Added code to opDispatch to make a full example that can be copy, pasted and run. I believe this will more clearly help users understand opDispatch. For clarity, I changed the incoming type to spell out 'Type'

…ted and run. I believe this will more clearly help users understand opDispatch. For clarity, I changed the incoming type to spell out 'Type'
gems/opdispatch-opapply.md Outdated Show resolved Hide resolved
gems/opdispatch-opapply.md Outdated Show resolved Hide resolved
@ntrel
Copy link
Contributor

ntrel commented Jul 3, 2023

BTW There are other examples such as here that don't declare main.

MikeShah and others added 2 commits July 3, 2023 09:24
Agreed, initially I thought 'Type' with 'Types' was a bit clearer, but the convention is purely 'T'

Co-authored-by: Nick Treleaven <ntrel002@gmail.com>
Co-authored-by: Nick Treleaven <ntrel002@gmail.com>
@MikeShah
Copy link
Author

MikeShah commented Jul 3, 2023

BTW There are other examples such as here that don't declare main.

My thoughts are for the call logger example it is something new enough enough that a beginner might want to copy & paste. :)

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.

None yet

2 participants