pub fn initContext(context: Context) Self
Initialize and return a priority queue with context.
context: Context
33 34 35 36 37 38 39
pub fn initContext(context: Context) Self { return Self{ .items = &.{}, .cap = 0, .context = context, }; }
Initialize and return a priority queue with context.