C# Class Meteor.Subscription

A subscription handle.
Mostra file Open project: hiddenswitch/Meteor-Unity

Public Properties

Property Type Description
args object[]
name string
requestId string

Public Methods

Method Description
Subscribe ( string name ) : Subscription

Subscribe to a record set. Returns a handle that provides a ready property. You must call yield return (Coroutine)subscribeInstance; in an IEnumerator/Coroutine to actually execute the subscription.

Subscription ( ) : System

Private Methods

Method Description
Wait ( ) : IEnumerator

Method Details

Subscribe() public static method

Subscribe to a record set. Returns a handle that provides a ready property. You must call yield return (Coroutine)subscribeInstance; in an IEnumerator/Coroutine to actually execute the subscription.
public static Subscribe ( string name ) : Subscription
name string Name. Corresponds to your Meteor.publish(name, ...) statement in your Meteor code.
return Subscription

Subscription() public method

public Subscription ( ) : System
return System

Property Details

args public_oe property

The arguments used in this subscription.
public object[] args
return object[]

name public_oe property

The name of the subscription. Corresponds to your Meteor.publish(name, ...) statement in your Meteor code.
public string name
return string

requestId public_oe property

A unique identifier for the request used to fulfill this subscription. You generally will not need this.
public string requestId
return string