Callback function for requests expecting a text type.

Syntax

function(<TextType> textType)