Expresses hesitation or indecision between two actions; 'whether to' or 'should I or not'.
Long explanation:
The 'Verb ようか Verbる まいか' grammar point is used to express inner conflict or indecision about whether or not to perform two particular actions. It is translated in English as 'whether to do something or not'. This grammar point is very formal and mainly used in written language.