typedef haxe.web.Lock<T> = T

import haxe.web.Dispatch;

Available on all platforms