listenAttemptToNext

Translates the ListenAttempt.State received from a Generator into a Next, while also providing warnings and error messages.

private
listenAttemptToNext

Parameters

instance Kameloso

The current Kameloso instance.

attempt ListenAttempt

The ListenAttempt to map the .state value of.

Return Value

Type: auto

A Next describing what action mainLoop should take next.