public ProjectorPipeline <Ingestion.Ingester <IEnumerable <StreamEvent <byte[]> >, Submission.SubmissionBatch <StreamEvent <byte[]> > > > StartProjector() { FSharpFunc <string, string> categorize = new categorize(); FSharpFunc <Tuple <string, StreamSpan <byte[]> >, FSharpAsync <Unit> > project = new projectBuilder(ProjectorHandler); return(StreamsProjector.Start( Log.Logger, MaxReadAhead, MaxConcurrentStreams, project, categorize, FSharpOption <TimeSpan> .Some(TimeSpan.FromMinutes(1.0)), FSharpOption <TimeSpan> .Some(TimeSpan.FromMinutes(5.0)))); }
void Start() { cat = GameObject.Find("cat1").GetComponent <categorize>(); }