#### basic_yield_context::cancellation_slot_type

The cancellation slot type associated with the yield context.

    typedef cancellation_slot cancellation_slot_type;

###### Member Functions

Name | Description
--- | ---
assign | Installs a handler into the slot.
cancellation_slot [constructor] | Creates a slot that is not connected to any cancellation signal.
clear | Clears the slot.
emplace | Installs a handler into the slot, constructing the new object directly.
has_handler | Returns whether the slot is connected and has an installed handler.
is_connected | Returns whether the slot is connected to a signal.

###### Friends

Name | Description
--- | ---
operator!= | Compare two slots for inequality.
operator== | Compare two slots for equality.

###### Requirements

Header: `asio/spawn.hpp`

Convenience header: None