Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

4.25: remove Async\, add TCP\, improve IO\ and File\

Compare
Choose a tag to compare
@fredemmott fredemmott released this 14 Oct 17:10

This release:

  • removes the Experimental\Async namespace; it is no longer experimental, and is part of the main HSL library
  • renames open_*_non_disposable to open_*_nd
  • moves close_async() to only be available on non-disposable IO handles; disposable IO handles should only be closed by disposing of them
  • removes File from class names in the File\ namespace
  • removes IO\server_input()
  • adds TCP\connect_async($host, $port) and TCP\connect_nd_async($host, $port)

Only bare minimum TCP connection support is included at present; we expect to expose more socket options in future releases.