Skip to main content

laminar_subscription_free

Function laminar_subscription_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn laminar_subscription_free( handle: *mut LaminarSubscriptionHandle, )
Expand description

Free a subscription handle.

If the subscription is still active, it will be cancelled first.

§Arguments

  • handle - Subscription handle to free

§Safety

handle must be a valid handle from laminar_subscribe_callback, or NULL.