Callback function for requests expecting a writing direction value.

Syntax

function(<Direction> direction)