def add(self, item):
def result_fnc(f):<EOL><INDENT>if f.result():<EOL><INDENT>return True<EOL><DEDENT>raise Full("<STR_LIT>")<EOL><DEDENT>return self.offer(item).continue_with(result_fnc)<EOL>
Adds the specified item to this queue if there is available space.

:param item: (object), the specified item.
:return: (bool), ``true`` if element is successfully added, ``false`` otherwise.