open fun setTaskScheduler(@Nullable taskScheduler: TaskScheduler): Unit
Configure a scheduler to use for heartbeats and for receipt tracking.
Note: Some transports have built-in support to work with heartbeats and therefore do not require a TaskScheduler. Receipts however, if needed, do require a TaskScheduler to be configured.
By default, this is not set.