IBlockingQueueExtensions.OfferAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OfferAsync(IBlockingQueue, Object) | |
OfferAsync(IBlockingQueue, Object, Int64, TimeUnit) |
OfferAsync(IBlockingQueue, Object)
public static System.Threading.Tasks.Task<bool> OfferAsync (this Java.Util.Concurrent.IBlockingQueue self, Java.Lang.Object? e);
static member OfferAsync : Java.Util.Concurrent.IBlockingQueue * Java.Lang.Object -> System.Threading.Tasks.Task<bool>
Parameters
- self
- IBlockingQueue
- e
- Object
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
OfferAsync(IBlockingQueue, Object, Int64, TimeUnit)
public static System.Threading.Tasks.Task<bool> OfferAsync (this Java.Util.Concurrent.IBlockingQueue self, Java.Lang.Object? e, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member OfferAsync : Java.Util.Concurrent.IBlockingQueue * Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<bool>
Parameters
- self
- IBlockingQueue
- e
- Object
- timeout
- Int64
- unit
- TimeUnit
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.