Skip to content

Get Sansar

Script API

IEventSubscription

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Interface Namespace Sansar.Script

Token representing an event subscription.

public interface IEventSubscription

Remarks

Manages existing events.

Members at a glance

KindMembers
PropertiesActive
MethodsUnsubscribe

Properties

Active

public bool Active { get; }

Is this subscription is still listening for events.

Value: bool — Will return false if this subscription has been unsubscribed or is not persistent and an event has been generated.

Methods

Unsubscribe

public void Unsubscribe()

Removes this subscription.

Remarks

Events which have already been queued but not sent may be generated after this call.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.