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

Unsafe & Async Helper Proof of Concept #516

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

Commits on Jun 19, 2023

  1. A proof of concept for auto generated bangs.

    This can also be applied to async functions. eg take the function
    edit_message. adding @unsafe and @async attributes to the function
    can handle generating edit_message! and edit_message_async respectively.
    
    This only contains the code for the banged versions however should
    the implementaion be approved the async code is trivial.
    
    This also allows all the manual bang functions to be remove from the api
    module. (Approx 70)
    bdanklin committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    d89c542 View commit details
    Browse the repository at this point in the history
  2. show docs

    bdanklin committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    fc4d90b View commit details
    Browse the repository at this point in the history
  3. correct function name

    bdanklin committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    d88602b View commit details
    Browse the repository at this point in the history