Info
Version: | 1.0.1 |
Author(s): | David Ellis |
Last Update: | Saturday, December 13, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://www.github.com/davidkellis/jack |
NuGet Url: | https://www.nuget.org/packages/jack |
Install
Install-Package jack
dotnet add package jack
paket add jack
jack Download (Unzip the "nupkg" after downloading)
Tags
Install:
nuget install jack
Usage:
open jack
let client = Connection.parseAddress "localhost:11300" |> Client.connect
client.useTube "testTube" |> ignore
client.put 1000 0 30 "my message" |> ignore // priority=1000, delay=0, ttr=30 seconds
client.watch "testTube" |> ignore
let result = client.reserveWithTimeout 5
match result with
| Success (jobId, payload) ->
printfn "jobId=%i payload=%s" jobId payload
client.delete jobId |> ignore
| Failure msg -> failwith msg.