Skip to content

Support async calls #2

@guilhermesilveira

Description

@guilhermesilveira

I would love to able to do:

f(self, result)
# here i have access to the request result

play(self)
future = Restfulie.at(uri).with(async).callback(f).get()
# future can be polled with future.finished? and future.response
# when the response is received, invoke the callback function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions