Showing posts with label queue. Show all posts
Showing posts with label queue. Show all posts

Beanstalk simple example c#

https://github.com/sdether/libBeanstalk.NET download and compile
 
using Droog.Beanstalk.Client;
 
using (var client = new BeanstalkClient("10.10.4.99", 11300))
{
    var put = client.PutString("foo");
    var reserve = client.ReserveString();
    client.Delete(reserve.JobId);
}