setType

open fun setType(@NonNull() type: ThreadType)

Sets the type of thread based on the originating platform (intended for internal use only)