Changes between Version 78 and Version 79 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 25, 2011 12:08:34 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v78 v79  
    213213
    214214=== Defining New Commands ===
    215 Now say you want to define a function on the fly to send an op to the server, this can be done with either "send-and-forget", "send-and-get", "send-and-get-later", and "send-and-watch".  These functions provide a human-readable interface to protocol zero by mapping all of the op codes to keywords.  Here is the full list of keyword arguments subject to change).
     215Now say you want to define a function on the fly to send an op to the server, this can be done with either "send-and-forget", "send-and-get", "send-and-get-later", and "send-and-watch".  These functions provide a human-readable interface to protocol zero by mapping all of the op codes to keywords.  Here is the full list of keyword arguments (subject to change).
    216216
    217217* :move-indefinitely --> "mi"
     
    465465client.core=> (future-done? items)
    466466true
    467 client.core=> @items
     467client.core=> @items ; dereference the future
    468468{"quagent_item_gold" ([375.085327 56.309933 1.374918] ... (output truncated)
    469469client.core=> (pp)