Skip to content

Patch to allow callbacks to require receiver (fail if no receiver) #134

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,
Please find attached a patch to allow callbacks to require receiver.

With this, the default remain the same but if one supplies the extra argument 
(e.g. "oncompleterequirereceiver", true), an exception will be thrown at 
runtime if the message wasn't received by something.  This makes debugging 
easier since one can express an expectation that the callback will definitely 
be handled.

Notes:
 - The patch is against asset store version 2.0.46 (from version number in its code; it's called 2.0.46.1 in Asset store; The Google Code version says it's 2.0.45).
 - There's no extra documentation (all oncomplete, onstart, etc all need updating).

Please let me know if there are any changes desired/required for acceptance!

Thanks for the lovely library & HTH!
Rupert.

Original issue reported on code.google.com by Rupert....@gmail.com on 7 Dec 2013 at 1:36

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions