// WithLimit allows setting HistoryOptions.Limit.
WithLimit allows setting HistoryOptions.Limit.
// WithLimit allows setting HistoryOptions . Limit .
func WithLimit(limit int) HistoryOption {
	return func(opts *HistoryOptions) {
		opts.Limit = limit
	}
}
func WithLimit ( limit int ) HistoryOption { return func ( opts * HistoryOptions ) { opts . Limit = limit } }
WithLimit allows setting HistoryOptions.Limit.
WithLimit allows setting HistoryOptions . Limit .