Hi!
In your reference manual written that "run" function in Async class can runs the given function of a class.
But I have an error in this case:
class Bar
{
Bar(){}
~Bar(){}
int foo()
{
log.message("foo was executed\n");
return 1;
}
};
void start_button_click()
{
Async async = new Async();
Bar br = new Bar();
async.run(br, "foo");
}
Error: "Async::run(): unknown type of argument (Bar)"
Am I doing something wrong?