func NewOptions() Options {
	return &options{
		instrumentOpts:   instrument.NewOptions(),
		initWatchTimeout: defaultInitWatchTimeout,
	}
}
NewOptions creates a new set of options.
package runtime
import (
	"time"
	"github.com/m3db/m3cluster/kv"
	"github.com/m3db/m3x/instrument"
)
const (
	defaultInitWatchTimeout = 10 * time.Second
)
type Options interface {
	SetInstrumentOptions(value instrument.Options) Options
	InstrumentOptions() instrument.Options
	SetInitWatchTimeout(value time.Duration) Options
	InitWatchTimeout() time.Duration
	SetKVStore(value kv.Store) Options
	KVStore() kv.Store
	SetUnmarshalFn(value UnmarshalFn) Options
	UnmarshalFn() UnmarshalFn
	SetProcessFn(value ProcessFn) Options
	ProcessFn() ProcessFn
}
type options struct {
	instrumentOpts   instrument.Options
	initWatchTimeout time.Duration
	kvStore          kv.Store
	unmarshalFn      UnmarshalFn
	processFn        ProcessFn
}