Buffer.Buffer.Buffer C# (CSharp) Method

Buffer() public method

public Buffer ( ) : System
return System
        public Buffer()
        {
            // Allocate a new Join object for this buffer
              Join join = Join.Create();
              // Use it to initialize the channels
              join.Initialize(out Put);
              join.Initialize(out Get);
              // Finally, declare the patterns(s)
              join.When(Get).And(Put).Do(delegate(String s) {
             return s;
              });
        }
Buffer