frontend.asyncfrontendbase — IPython v0.10 documentation

### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10 documentation »
- The IPython API »

# frontend.asyncfrontendbase

## Module: `frontend.asyncfrontendbase`

Inheritance diagram for `IPython.frontend.asyncfrontendbase`:

Base front end class for all async frontends.

## `AsyncFrontEndBase`

class `IPython.frontend.asyncfrontendbase.` `AsyncFrontEndBase`(engine=None, history=None)

  Bases: `IPython.frontend.frontendbase.FrontEndBase`

  Overrides FrontEndBase to wrap execute in a deferred result. All callbacks are made as callbacks on the deferred result.

  `__init__`(engine=None, history=None)
  `execute`(block, blockID=None)

    Execute the block and return the deferred result.

    Parameters:

      block : {str, AST} blockID : any

      > Caller may provide an ID to identify this block. result[‘blockID’] := blockID

    Result:
      Deferred result of self.interpreter.execute

### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10 documentation »
- The IPython API »