Skip to content
Azoy edited this page May 6, 2021 · 2 revisions

types

The list of all protocols this program has loaded.

public var types: [ContextDescriptor] 

NOTE: This list is populated once before the program starts with all of the protocols that are statically know at compile time. If you are attempting to load libraries dynamically at runtime, this list will update automatically, so make sure if you need up to date information on these protocols, fetch this often. Example:

  var protocols = Echo.protocols
  loadPlugin(...)
  // protocols is now outdated! Refresh it by calling this again.
  protocols = Echo.protocols
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally