class MailboxExecutorImpl implements MailboxExecutor {

	@Override
	public void yield() throws InterruptedException {
		Mail mail = mailbox.take(priority);
		try {
			mail.run();
		} catch (Exception ex) {
			throw WrappingRuntimeException.wrapIfNecessary(ex);
		}
	}

	public  MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor);
	public  MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor, MailboxProcessor mailboxProcessor);

}