Skip to content

How can one poll more than just a few conns? #16

Open

Description

@stefan-leftclick

If I had more than one 'conn' to poll, then how will I know which 'conn' to read from CallbackFn(), if 'conn' was not defined as global?
Thanks

Activity

  1. devansh42 commented on Jul 21, 2020

    @devansh42

    I think, that's really depends on your specific problem, A code snippet will help me to figure it out.

  2. gobwas commented on Jul 21, 2020

    @gobwas
    Contributor

    Hey @stefan-leftclick usually you use closure for such things.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions