Skip to content

1.2.0

Compare
Choose a tag to compare
@trowski trowski released this 25 Jun 18:24
  • Added support for ext-parallel for thread contexts and workers.
  • Added BootstrapWorkerFactory which includes a user-defined file when a worker is created. This is useful for including a custom autoloader or other bootstrapping logic.
  • Added an optional bootstrap file path to WorkerProcess and WorkerThread constructors.
  • Improved stack traces reported from uncaught exceptions in contexts to report the stack trace of any previous exception.
  • Contexts now define a AMP_CONTEXT constant for identifying what type of context is running and a AMP_CONTEXT_ID constant, a unique integer identifier for that context.
  • ChannelledSocket has reference() and unreference() methods that reference and unreference the underlying socket in the event loop.