Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

How to give ws.receive() a timeout value and default value? #76

Description

@tme-wl

I mean

msg = ws.receive(timeout=1, default='bob')

if client no send data, after 1 second , give a default value to msg

how to do like this? please!!!!!

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