6 Commits

Author SHA1 Message Date
Alan Rynne 66a1ccb8ba fix: Bump version 2021-06-11 10:17:38 +02:00
Alan Rynne 4bb2759be9 Merge pull request #16 from specklesystems/alan/rhino-version-downgrade
Downgraded rhino nugets to 6.28 for broader compatibility
2021-06-09 16:55:47 +02:00
Alan Rynne 0a1a3e1627 Downgraded rhino nugets to 6.28 for broader compatibility 2021-06-09 16:53:51 +02:00
Dimitrie Stefanescu 57c7dd0bd0 Merge branch 'main' of https://github.com/specklesystems/GrasshopperAsyncComponent into main 2021-04-03 19:01:24 +01:00
Dimitrie Stefanescu 330a55b058 fix(nuspec): versioning 2021-04-03 19:01:04 +01:00
Dimitrie Stefanescu 1b92138ce9 Update README.md
closes #7
2021-04-03 18:39:23 +01:00
5 changed files with 11 additions and 11 deletions
@@ -49,11 +49,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Grasshopper">
<Version>6.33.20343.16431</Version>
<Version>6.28.20199.17141</Version>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="RhinoCommon">
<Version>6.33.20343.16431</Version>
<Version>6.28.20199.17141</Version>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
@@ -2,14 +2,14 @@
<package >
<metadata>
<id>GrasshopperAsyncComponent</id>
<version>0.2.1.0</version>
<version>1.2.3.0</version>
<title>GrasshopperAsyncComponent</title>
<authors>Speckle Systems</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<projectUrl>https://github.com/specklesystems/GrasshopperAsyncComponent</projectUrl>
<description>Jankless Grasshopper Component</description>
<releaseNotes>Hotfix for race condition preventing full component cycle.</releaseNotes>
<releaseNotes>Adds cancellation methods.</releaseNotes>
<copyright>Speckle Systems</copyright>
<tags>grasshopper rhino mcneel gh_component</tags>
</metadata>
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.3.0")]
[assembly: AssemblyFileVersion("1.2.3.0")]
@@ -55,8 +55,8 @@
<Compile Include="SampleImplementations\Sample_UslessCyclesComponent.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Grasshopper" Version="6.33.20343.16431" />
<PackageReference Include="RhinoCommon" Version="6.33.20343.16431" />
<PackageReference Include="Grasshopper" Version="6.28.20199.17141" />
<PackageReference Include="RhinoCommon" Version="6.28.20199.17141" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GrasshopperAsyncComponent\GrasshopperAsyncComponent.csproj">
+3 -3
View File
@@ -21,9 +21,9 @@ Looks nice, doesn't it? Notice that the solution runs "eagerly" - every time the
Provides an abstract `GH_AsyncComponent` which you can inherit from to scaffold your own async component. There's more info in the [blogpost](https://speckle.systems/blog/async-gh/) on how to go about it.
Even better, there's a [sample component that shows how an implementation could look like](https://github.com/specklesystems/GrasshopperAsyncComponent/tree/main/GrasshopperAsyncComponent/SampleImplementations)! There's two components in that folder:
- The Useless Spinner: does no meaningfull CPU work, just keeps a thread busy with SpinWait()
- The N-th Prime Calculator: can actually spin your computer's fans quite a bit (for numbers > 100.000)
> #### Checkout the sample implementation!
> - [Prime number calculator](https://github.com/specklesystems/GrasshopperAsyncComponent/blob/a53cef31a8750a18d06fad0f41b2dc452fdc253b/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_PrimeCalculatorAsyncComponent.cs#L11-L53) Calculates the n'th prime. Can actually spin your computer's fans quite a bit for numbers > 100.000!
> - [Usless spinner](https://github.com/specklesystems/GrasshopperAsyncComponent/blob/2f2be53bffd2402337ba40d65bb5b619d1161b3e/GrasshopperAsyncComponentDemo/SampleImplementations/Sample_UslessCyclesComponent.cs#L13-L91) does no meaningfull CPU work, just keeps a thread busy with SpinWait().
### Current limitations