getResult {Aspell}R Documentation

Generic function to retrieve result from asynchronous callback handler.

Description

This function is intended to be used with an asynchronous callback handler. As events are generated, the callback handler is invoked. At the end of the event source, the managing function can return the results by invoking this function on the callback object. This works for CallbackResult-class objects.

This generic function can be extended to provide different ways to fetch/compute the result. The method for CallbackResult-class uses the information about which variable(s) to extract from the function's environment to find the appropriate value.

Usage

getResult(obj, ...)

Arguments

obj the callback object. In our use, this is an object of class CallbackResult-class.
... any additional arguments.

Value

An arbitrary R value.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://aspell.sourceforge.net http://www.omegahat.org

See Also

DocSpeller collectWords spellDoc

Examples






[Package Aspell version 0.2-0 Index]