Microsoft.R.Host.Client.Session.RSessionInteraction.RSessionInteraction C# (CSharp) Method

RSessionInteraction() public method

public RSessionInteraction ( TaskCompletionSource requestTcs, System.Threading.Tasks.Task responseTask, string prompt, int maxLength, IReadOnlyList contexts ) : System.Collections.Generic
requestTcs TaskCompletionSource
responseTask System.Threading.Tasks.Task
prompt string
maxLength int
contexts IReadOnlyList
return System.Collections.Generic
        public RSessionInteraction(TaskCompletionSource<string> requestTcs, Task responseTask, string prompt, int maxLength, IReadOnlyList<IRContext> contexts) {
            _requestTcs = requestTcs;
            _responseTask = responseTask;
            Prompt = prompt;
            MaxLength = maxLength;
            Contexts = contexts;
        }