Project DescriptionAsynk is a framework/application that allows existing applications to easily be extended with an offloaded asynchronous worker layer.
Asynk is developed using C#.
ExampleAsynk allows you to take an existing application with a function call like:
public class MyLibrary
{
public void DoWork()
{
/* This method does work that takes a long time
and the application appears to freeze */
}
}
static void Main()
{
MyLibrary lib = new MyLibrary();
lib.DoWork();
}
And change it into:
public class MyLibrary
{
[AsynkCallable]
public void DoWork()
{
/* This method does work that takes a long time
and the application appears to freeze */
}
}
static void Main()
{
MyLibrary lib = new MyLibrary();
Asynker.Process(lib, "DoWork");
}