https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7981

--- Comment #26 from Loren Wilton <lwil...@earthlink.net> ---
> Unfortunately, an exact description can't be written down in 10 lines. 

I had in mind something like (modulo whatever Perl block comment syntax is):

======== Function Return Values =========
1. If a match is found, call got_hit() and return 1.
2. If the result is a match failure, call got_miss() and return 0.
3. If this call results in starting an asynchronous lookup and the result is
not currently available, return undef. 
4. When an asynchronous call completes and the match value is finally known, do
<whatever the correct thing is>.
=========================================

That's 6 or 7 lines, but should be a reasonably succinct description. Obviously
the correct action description would have to be put into case 4, I don't know
what it is.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to