Skip to content

Instantly share code, notes, and snippets.

@YijunXieMS
YijunXieMS / API Proposal.md
Last active June 5, 2019 17:24
Azure EventHubs Python Track 2 API Proposal

The following is sync API. Async is similar

class EventData(object):
    def __init__(self, body=None, to_device=None, message=None): # users shouldn't pass in message
    @property
    def sequence_number(self): int
    @property
    def offset(self): str
    @property