Description

New is the constructor to generate a new future. Pass the completed item to the toComplete channel and any listeners will get notified. If timeout is hit before toComplete is called, any listeners will get passed an error.

New is referenced in 1 repository

github.com/Workiva/go-datastructures