Method UpdateRenderable
UpdateRenderable(Session, String, Func<Renderable, Renderable>)
Updates a renderable.
Declaration
public static TryOptionAsync<HttpResponseMessage> UpdateRenderable(this Session session, string mode, Func<Renderable, Renderable> f)
Parameters
Type | Name | Description |
---|---|---|
Session | session | The session. |
System.String | mode | A mode name. Use Session.GetModes() to get a list of modes. |
System.Func<Renderable, Renderable> | f | Changes the Renderable. |
Returns
Type | Description |
---|---|
LanguageExt.TryOptionAsync<System.Net.Http.HttpResponseMessage> | The reply in case of success. |