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
{{ message }}
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
This is a ServiceScope contract for generating pseudorandom random numbers.
Signature:
exportinterfaceIRandomNumberGenerator
Remarks
This interface abstracts the functionality of the system Math.random() API for usage with a ServiceScope. For example, a unit test might replace the default RandomNumberGenerator service with a mock implementation that always returns the same sequence of random numbers, in order to ensure that test failures are always repeatable.