You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->'R ->'U ,_:Using )=(fun s ->try body resource s finallyifnot(isNull (box resource))then resource.Dispose ()): 'R->'U
282
284
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->Async<'U>,_:Using )= async.Using (resource, body)
283
285
#if!FABLE_COMPILER
284
-
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->Task<'U>,_:Using )= Task.using resource body
286
+
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->Task<'U>,_:Using)= Task.using resource body
287
+
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->ValueTask<'U>,_:Using)= ValueTask.using resource body
0 commit comments