ntcore_sys

Function NT_Subscribe

Source
pub unsafe extern "C" fn NT_Subscribe(
    topic: NT_Topic,
    type: NT_Type,
    typeStr: *const WPI_String,
    options: *const NT_PubSubOptions,
) -> NT_Subscriber
Expand description

Creates a new subscriber to value changes on a topic.

§Parameters

  • topic: topic handle
  • type: expected type
  • typeStr: expected type string
  • options: subscription options

§Returns

Subscriber handle